UNPKG

@happykit/auth-email

Version:

- A `useAuth` hook which returns the current user - An optional `getServerSideAuth` for server-side rendering - HappyAuth is tiny - it adds only 4.6 kB to the first load JS - it adds less than 0.04 kB if you're transitioning from another page - Extremely

8 lines (6 loc) 265 B
import { ResetPassword } from "@happykit/auth-email/pages/reset-password" import { publicConfig, useAuth } from "happyauth" export default function ResetPasswordPage() { const auth = useAuth() return <ResetPassword auth={auth} publicConfig={publicConfig} /> }