mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-19 20:26:33 -07:00
chore: initial public commit
This commit is contained in:
commit
fc9054b78c
250 changed files with 32809 additions and 0 deletions
17
client/app/components/modals/AccountPage.tsx
Normal file
17
client/app/components/modals/AccountPage.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { useAppContext } from "~/providers/AppProvider"
|
||||
import LoginForm from "./LoginForm"
|
||||
import Account from "./Account"
|
||||
|
||||
export default function AuthForm() {
|
||||
const { user } = useAppContext()
|
||||
|
||||
return (
|
||||
<>
|
||||
{ user ?
|
||||
<Account />
|
||||
:
|
||||
<LoginForm />
|
||||
}
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue