diff --git a/apps/client/src/widgets/ribbon/Ribbon.tsx b/apps/client/src/widgets/ribbon/Ribbon.tsx index 61f68fe51..53813b1f4 100644 --- a/apps/client/src/widgets/ribbon/Ribbon.tsx +++ b/apps/client/src/widgets/ribbon/Ribbon.tsx @@ -224,20 +224,22 @@ export default function Ribbon() { return; } + const TabContent = tab.content; + return (
- {tab?.content && tab.content({ - note, - hidden: !isActive, - ntxId, - hoistedNoteId, - notePath, - noteContext, - componentId, - activate: useCallback(() => { +
); })}