Don't flash sign in button if user is loading
This commit is contained in:
parent
a3acd3fa3c
commit
0818a94307
|
@ -63,7 +63,8 @@ export default function Sidebar(props: {
|
||||||
)}
|
)}
|
||||||
<Spacer h={6} />
|
<Spacer h={6} />
|
||||||
|
|
||||||
{!user && <SignInButton className="mb-4" />}
|
{user === undefined && <div className="h-[178px]" />}
|
||||||
|
{user === null && <SignInButton className="mb-4" />}
|
||||||
|
|
||||||
{user && <ProfileSummary user={user} />}
|
{user && <ProfileSummary user={user} />}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user