From 9b0ad7eb72f858bde71035a34d7ce6ebaed63443 Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Mon, 4 Sep 2023 15:05:21 -0300 Subject: [PATCH] fix(button) cursor icon on clickable icon --- src/components/designSystem/Button.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/designSystem/Button.tsx b/src/components/designSystem/Button.tsx index 2e45fd9cc..caf0641ed 100644 --- a/src/components/designSystem/Button.tsx +++ b/src/components/designSystem/Button.tsx @@ -172,7 +172,7 @@ export const Button = forwardRef( localLoading && !icon && !!startIcon ? ( ) : ( - startIcon && + startIcon && handleClick} /> ) } {...mapProperties(variant, !!inheritColor)} @@ -182,7 +182,7 @@ export const Button = forwardRef( localLoading ? ( ) : ( - + handleClick} /> ) ) : ( children