Skip to content

Commit 56f1ed4

Browse files
committed
fix: type button
1 parent 728acdf commit 56f1ed4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

legacies/react/v2/components/compound/editor/components/auto-text-color-button.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const AutoTextColorButton = () => {
2020
}}
2121
disabled={!editor.can().unsetColor()}
2222
title="Reset text color"
23+
type="button"
2324
>
2425
<DropSlashIcon className="size-8" />
2526
</Button>

0 commit comments

Comments
 (0)