Parcourir la source

return to original code

kaori il y a 4 ans
Parent
commit
db1044b864
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/app/src/stores/ui.tsx

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

@@ -286,7 +286,7 @@ export const useCreateModalOpened = (): SWRResponse<boolean, Error> => {
   );
 };
 
-export const useCreateModalPath = (): SWRResponse<any | null | undefined, Error> => {
+export const useCreateModalPath = (): SWRResponse<string | null | undefined, Error> => {
   const { data: currentPagePath } = useCurrentPagePath();
   const { data: status } = useCreateModalStatus();