Shun Miyazawa 4 سال پیش
والد
کامیت
a6da8fb86f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

+ 1 - 1
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -214,7 +214,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
     onClickDeleteByPage(pageToDelete);
   }, [page, onClickDeleteByPage]);
 
-  const redirectToEditor = (...paths) => {
+  const redirectToEditor = (...paths: string[]) => {
     try {
       const editorPath = generateEditorPath(...paths);
       window.location.href = editorPath;