mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 21:48:18 -08:00
17 lines
No EOL
343 B
TypeScript
17 lines
No EOL
343 B
TypeScript
import { useAppContext } from "~/providers/AppProvider"
|
|
import LoginForm from "./LoginForm"
|
|
import Account from "./Account"
|
|
|
|
export default function AuthForm() {
|
|
const { user } = useAppContext()
|
|
|
|
return (
|
|
<>
|
|
{ user ?
|
|
<Account />
|
|
:
|
|
<LoginForm />
|
|
}
|
|
</>
|
|
)
|
|
} |