This commit is contained in:
LucasLassiter
2022-05-11 14:56:59 -07:00
parent fb28b8380d
commit c20b6bea70
7 changed files with 371 additions and 579 deletions

View File

@@ -1,9 +1,10 @@
import { auth, googleAuthProvider } from '../lib/firebase';
import { useContext } from 'react';
import { UserContext } from '../lib/context';
export default function EnterPage({ }) {
const user = null
const username = null;
const { user, username } = useContext(UserContext);
// 1. user signed out <SignInButton />
// 2. user signed in, but missing username <UsernameForm />