Shun Miyazawa 4 лет назад
Родитель
Сommit
b1fcb0670a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

@@ -366,6 +366,9 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
     catch (err) {
     catch (err) {
       toastError(err);
       toastError(err);
     }
     }
+    finally {
+      setCreating(false);
+    }
   };
   };
 
 
   const inputValidator = (title: string | null): AlertInfo | null => {
   const inputValidator = (title: string | null): AlertInfo | null => {