diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
index 83a8d957f..e10fae749 100644
--- a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
@@ -22,7 +22,7 @@ export default function RightPanelContainer() {
const { note } = useActiveNoteContext();
const noteType = useNoteProperty(note, "type");
const items = [
- noteType === "text" || noteType === "doc" && ,
+ (noteType === "text" || noteType === "doc") && ,
noteType === "text" &&
].filter(Boolean);