mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 15:54:25 +01:00
chore(right_pane): missing key for custom widgets
This commit is contained in:
parent
e82e92c22c
commit
eeea96b98c
@ -28,7 +28,7 @@ export default function RightPanelContainer({ customWidgets }: { customWidgets:
|
||||
const items = (rightPaneVisible ? [
|
||||
(noteType === "text" || noteType === "doc") && <TableOfContents />,
|
||||
noteType === "text" && highlightsList.length > 0 && <HighlightsList />,
|
||||
...customWidgets.map((w) => <CustomWidget originalWidget={w} />)
|
||||
...customWidgets.map((w) => <CustomWidget key={w._noteId} originalWidget={w as LegacyRightPanelWidget} />)
|
||||
] : []).filter(Boolean);
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user