Skip to content

Commit 3742661

Browse files
committed
Fix missing key of parent folder list item
1 parent 8f58d01 commit 3742661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/molecules/NotePageToolbarFolderHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const NotePageToolbarFolderHeader = ({
4949
/>
5050
{folderDataList.map(({ name, pathname }, index) => {
5151
return (
52-
<>
52+
<React.Fragment key={pathname}>
5353
<ToolbarSlashSeparator />
5454
<ToolbarButton
5555
key={pathname}
@@ -60,7 +60,7 @@ const NotePageToolbarFolderHeader = ({
6060
label={name}
6161
limitWidth={index !== folderDataList.length - 1}
6262
/>
63-
</>
63+
</React.Fragment>
6464
)
6565
})}
6666
</>

0 commit comments

Comments
 (0)