mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: add missing type="button"
(#8030)
This commit is contained in:
parent
7d8b7fc14d
commit
ff0b4394b1
10 changed files with 20 additions and 2 deletions
|
@ -105,6 +105,7 @@ export const ContextMenu = React.memo(
|
|||
}}
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
className={clsx("context-menu-item", {
|
||||
dangerous: actionName === "deleteSelectedElements",
|
||||
checkmark: item.checked?.(appState),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue