diff --git a/apps/medium/src/stores/editor.ts b/apps/medium/src/stores/editor.ts index 49d230a..c346908 100644 --- a/apps/medium/src/stores/editor.ts +++ b/apps/medium/src/stores/editor.ts @@ -18,7 +18,7 @@ export const useEditorList = () => { isFetching: isEditorLoading, refetch } = useQuery({ - enabled: user === undefined, + enabled: !!user, queryKey: ['editor', 'character', 'list'], retry: 2, staleTime: Infinity,