Browse Source

fix(dashboard): Fix bug preventing login screen from rendering

Michael Bromley 7 months ago
parent
commit
cc77ddf95f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/dashboard/src/app/main.tsx

+ 1 - 1
packages/dashboard/src/app/main.tsx

@@ -50,7 +50,7 @@ function InnerApp() {
 
     return (
         <>
-            {hasSetCustomFieldsMap && (
+            {(hasSetCustomFieldsMap || auth.status === 'unauthenticated') && (
                 <RouterProvider router={extendedRouter} context={{ auth, queryClient }} />
             )}
         </>