Mao 4 سال پیش
والد
کامیت
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> => {
 export const useSWRTagsInfo = (pageId: string) : SWRResponse<IPageTagsInfo, Error> => {
-  // apiGet returns Promise<unknown>
+  // apiGet():Promise<unknown>
   // eslint-disable-next-line @typescript-eslint/no-explicit-any
   // eslint-disable-next-line @typescript-eslint/no-explicit-any
   return useSWR(`/pages.getPageTag?pageId=${pageId}`, endpoint => apiGet(endpoint).then((response: any) => {
   return useSWR(`/pages.getPageTag?pageId=${pageId}`, endpoint => apiGet(endpoint).then((response: any) => {
     return {
     return {