Shun Miyazawa před 3 roky
rodič
revize
3f7a659c95
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      apps/app/src/stores/page.tsx

+ 1 - 0
apps/app/src/stores/page.tsx

@@ -47,6 +47,7 @@ export const useTemplateBodyData = (initialData?: string): SWRResponse<string, E
   return useStaticSWR<string, Error>('templateBodyData', initialData);
 };
 
+/** "useSWRxCurrentPage" is intended for initial data retrieval only. Use "useSWRMUTxCurrentPage" for revalidation */
 export const useSWRxCurrentPage = (initialData?: IPagePopulatedToShowRevision|null): SWRResponse<IPagePopulatedToShowRevision|null> => {
   const key = 'currentPage';