fix: cleanup code

This commit is contained in:
Daniel
2025-03-25 23:31:45 +01:00
committed by Nicolás Hatcher Andrés
parent efc925a046
commit 793534b190

View File

@@ -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) {
>
<ImageDown />
</StyledButton>
<StyledButton
type="button"
$pressed={false}
onClick={() => {
// Add your onClick handler logic here
}}
disabled={!canEdit}
title={t("toolbar.new_button")}
>
{/* Add your button icon or text here */}
</StyledButton>
<ColorPicker
color={properties.fontColor}