Yuki Takei 3 tahun lalu
induk
melakukan
ed42bef332
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/app/src/stores/page.tsx

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

@@ -165,7 +165,7 @@ export const useSWRxIsGrantNormalized = (
 
 
   return useSWRImmutable(
   return useSWRImmutable(
     key,
     key,
-    (endpoint, pageId) => apiv3Get(endpoint, { pageId }).then(response => response.data),
+    ([endpoint, pageId]) => apiv3Get(endpoint, { pageId }).then(response => response.data),
   );
   );
 };
 };