Explorar el Código

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

Michael Bromley hace 7 meses
padre
commit
cc77ddf95f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 }} />
             )}
         </>