2
0
Mao 4 жил өмнө
parent
commit
a0b80f937c

+ 1 - 1
packages/app/src/stores/page.tsx

@@ -36,7 +36,7 @@ export const useSWRxPageList = (
 
 
 export const useSWRTagsInfo = (pageId: string) : SWRResponse<IPageTagsInfo, Error> => {
-  // apiGet returns Promise<unknown>
+  // apiGet():Promise<unknown>
   // eslint-disable-next-line @typescript-eslint/no-explicit-any
   return useSWR(`/pages.getPageTag?pageId=${pageId}`, endpoint => apiGet(endpoint).then((response: any) => {
     return {