fix(right_pane): table of contents no longer visible
Some checks are pending
Checks / main (push) Waiting to run

This commit is contained in:
Elian Doran 2025-12-18 17:00:11 +02:00
parent a986c84ce7
commit 334c31e79d
No known key found for this signature in database

View File

@ -22,7 +22,7 @@ export default function RightPanelContainer() {
const { note } = useActiveNoteContext();
const noteType = useNoteProperty(note, "type");
const items = [
noteType === "text" || noteType === "doc" && <TableOfContents />,
(noteType === "text" || noteType === "doc") && <TableOfContents />,
noteType === "text" && <HighlightsList />
].filter(Boolean);