From 7eaf37223c174862fcaa8191f790a87a0bf6253b Mon Sep 17 00:00:00 2001 From: hzhang Date: Sat, 7 Dec 2024 00:32:49 +0000 Subject: [PATCH] fix: inconsistent style of path with/without index --- src/components/Navigations/PathNode.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Navigations/PathNode.js b/src/components/Navigations/PathNode.js index aea7243..db88c4d 100644 --- a/src/components/Navigations/PathNode.js +++ b/src/components/Navigations/PathNode.js @@ -91,7 +91,9 @@ const PathNode = ({ path, isRoot = false, onDelete, onSave }) => { {path.name} - ) : path.name + ) : ( + {path.name} + ) }