瀏覽代碼

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

Michael Bromley 8 月之前
父節點
當前提交
cc77ddf95f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 }} />
             )}
         </>