Shun Miyazawa 4 năm trước cách đây
mục cha
commit
5ce334a849
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

@@ -278,7 +278,8 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
         mutateAfterRenamed();
       }
 
-      toastSuccess(t('renamed_pages', { newPagePath }));
+      console.log(newPagePath);
+      toastSuccess(t('renamed_pages', { path: newPagePath }));
     }
     catch (err) {
       setRenameInputShown(true);