Shun Miyazawa пре 2 година
родитељ
комит
14317c025b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/app/src/stores/yjs.ts

+ 1 - 1
apps/app/src/stores/yjs.ts

@@ -30,7 +30,7 @@ export const useCurrentPageYjsData = (): SWRResponse<CurrentPageYjsData, Error>
   };
 };
 
-export const useSWRMUTxCurrentPageYjsData = (): SWRMutationResponse<CurrentPageYjsData|null> => {
+export const useSWRMUTxCurrentPageYjsData = (): SWRMutationResponse<CurrentPageYjsData, Error> => {
   const key = 'currentPageYjsData';
   const { data: currentPageId } = useCurrentPageId();