Răsfoiți Sursa

fix ts error

kaori 4 ani în urmă
părinte
comite
7167c74320
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      packages/app/src/stores/ui.tsx

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

@@ -301,7 +301,9 @@ export const useCreateModalPath = (): SWRResponse<string | null | undefined, Err
 // PageDeleteModal
 type DeleteModalStatus = {
   isOpened: boolean,
-  pages?: IPageForPageDeleteModal[],
+  // TODO: refactoring
+  // eslint-disable-next-line @typescript-eslint/no-explicit-any
+  pages?: any,
 }
 
 type DeleteModalStatusUtils = {