Yuki Takei hace 1 año
padre
commit
2751e600fa
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      apps/app/src/stores/ui.tsx

+ 3 - 1
apps/app/src/stores/ui.tsx

@@ -516,8 +516,10 @@ export const useIsUntitledPage = (): SWRResponse<boolean> => {
 
   const { data: pageId } = useCurrentPageId();
 
-  return useSWRImmutable(
+  return useSWRStatic(
     pageId == null ? null : [key, pageId],
+    undefined,
+    { fallbackData: false },
   );
 
 };