Explorar el Código

fix pass data

kaori hace 4 años
padre
commit
9c44e1e6a0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/stores/page.tsx

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

@@ -45,7 +45,7 @@ export const useSWRxSubscribeButton = <Data, Error>(
     endpoint => apiv3Get(endpoint, { pageId }).then((response) => {
       console.log(response);
       return {
-        status: response.data.status,
+        status: response.data.subscribing,
       };
     }),
   );