kaori 4 лет назад
Родитель
Сommit
db1044b864
1 измененных файлов с 1 добавлено и 1 удалено
  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: currentPagePath } = useCurrentPagePath();
   const { data: status } = useCreateModalStatus();
   const { data: status } = useCreateModalStatus();