Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(right_pane): missing key for custom widgets
Elian Doraneeea96b98c1d
diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx b/apps/client/src/widgets/sidebar/RightPanelContainer.tsxindex 31743a4462..498013c1e5 100644--- a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx@@ -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 (