Skip to content

Commit

Permalink
fix(Button): remove button as default role
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamwasp committed May 10, 2024
1 parent 21283c6 commit 8d02f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gamut/src/ButtonBase/ButtonBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const ButtonBase = forwardRef<
ref={ref as MutableRefObject<HTMLButtonElement>}
as="button"
type={type}
role={role ?? 'button'}
role={role}
disabled={!!disabled}
>
{children}
Expand Down

0 comments on commit 8d02f2b

Please sign in to comment.