Shun Miyazawa hace 3 años
padre
commit
3f7a659c95
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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';