From 8d02f2b8868cef184d8fbaf0ab1014af23c7e96d Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Fri, 10 May 2024 17:10:45 -0400 Subject: [PATCH] fix(Button): remove button as default role --- packages/gamut/src/ButtonBase/ButtonBase.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gamut/src/ButtonBase/ButtonBase.tsx b/packages/gamut/src/ButtonBase/ButtonBase.tsx index f234dc0c72..eb28472071 100644 --- a/packages/gamut/src/ButtonBase/ButtonBase.tsx +++ b/packages/gamut/src/ButtonBase/ButtonBase.tsx @@ -77,7 +77,7 @@ export const ButtonBase = forwardRef< ref={ref as MutableRefObject} as="button" type={type} - role={role ?? 'button'} + role={role} disabled={!!disabled} > {children}