feat: add missing type="button" (#8030)

This commit is contained in:
Karthik Nishanth 2024-05-18 01:36:08 -07:00 committed by GitHub
parent 7d8b7fc14d
commit ff0b4394b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 20 additions and 2 deletions

View file

@ -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({