diff --git a/webapp/IronCalc/src/components/Toolbar/Toolbar.tsx b/webapp/IronCalc/src/components/Toolbar/Toolbar.tsx index f32e03d..8c26e98 100644 --- a/webapp/IronCalc/src/components/Toolbar/Toolbar.tsx +++ b/webapp/IronCalc/src/components/Toolbar/Toolbar.tsx @@ -67,7 +67,7 @@ type ToolbarProperties = { onToggleVerticalAlign: (v: string) => void; onToggleWrapText: (v: boolean) => void; onCopyStyles: () => void; - onTextColorPicked: (hex: string | null) => void; + onTextColorPicked: (hex: string) => void; onFillColorPicked: (hex: string) => void; onNumberFormatPicked: (numberFmt: string) => void; onBorderChanged: (border: BorderOptions) => void; @@ -429,17 +429,6 @@ function Toolbar(properties: ToolbarProperties) { > - { - // Add your onClick handler logic here - }} - disabled={!canEdit} - title={t("toolbar.new_button")} - > - {/* Add your button icon or text here */} -