mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-01 19:34:38 +01:00
feat: add missing type="button" (#8030)
This commit is contained in:
@@ -28,6 +28,7 @@ export const ButtonIconSelect = <T extends Object>(
|
||||
{props.options.map((option) =>
|
||||
props.type === "button" ? (
|
||||
<button
|
||||
type="button"
|
||||
key={option.text}
|
||||
onClick={(event) => props.onClick(option.value, event)}
|
||||
className={clsx({
|
||||
|
||||
Reference in New Issue
Block a user