From 0818a943071af30406b39156009fe9e7b9be3c38 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 5 Oct 2022 16:56:47 -0500 Subject: [PATCH] Don't flash sign in button if user is loading --- web/components/nav/sidebar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index efe7994b..23b1115c 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -63,7 +63,8 @@ export default function Sidebar(props: { )} - {!user && } + {user === undefined &&
} + {user === null && } {user && }