Shun Miyazawa 4 anni fa
parent
commit
cbd49ab8e8
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

@@ -292,7 +292,9 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
       toastError(err);
     }
     finally {
-      setRenaming(false);
+      setTimeout(() => {
+        setRenaming(false);
+      }, 1000);
     }
   };