diff --git a/client/views/room/Header/ToolBox/ToolBox.tsx b/client/views/room/Header/ToolBox/ToolBox.tsx index ef634b5be42f6..358dc3d322e51 100644 --- a/client/views/room/Header/ToolBox/ToolBox.tsx +++ b/client/views/room/Header/ToolBox/ToolBox.tsx @@ -79,14 +79,12 @@ const ToolBox: FC = ({ className }) => { icon, 'title': t(title), className, - 'tabId': id, index, - 'primary': id === tab?.id, + 'info': id === tab?.id, 'data-toolbox': index, action, 'key': id, }; - if (renderAction) { return renderAction(props); } diff --git a/client/views/room/lib/Toolbox/index.tsx b/client/views/room/lib/Toolbox/index.tsx index e52fd3179872a..a50a69e31a1e2 100644 --- a/client/views/room/lib/Toolbox/index.tsx +++ b/client/views/room/lib/Toolbox/index.tsx @@ -9,7 +9,6 @@ type ToolboxHook = ({ room }: { room: IRoom }) => ToolboxActionConfig | null; type ActionRendererProps = Omit & { className: ComponentProps['className']; - tabId: ToolboxActionConfig['id'] | undefined; index: number; title: string; };