Mao 4 лет назад
Родитель
Сommit
a0b80f937c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/stores/page.tsx

+ 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 {