You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Koito/client/app/components/modals/AccountPage.tsx

17 lines
343 B

import { useAppContext } from "~/providers/AppProvider"
import LoginForm from "./LoginForm"
import Account from "./Account"
export default function AuthForm() {
const { user } = useAppContext()
return (
<>
{ user ?
<Account />
:
<LoginForm />
}
</>
)
}