From 96882eb4cbdd20bfba586cc4cb404bbe58dd48d6 Mon Sep 17 00:00:00 2001 From: Mike van Veenhuijzen Date: Tue, 26 Mar 2024 10:28:26 +0100 Subject: [PATCH] chore: prevent click handler execution when button is disabled --- packages/ui-react/src/components/Button/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-react/src/components/Button/Button.tsx b/packages/ui-react/src/components/Button/Button.tsx index 297189b1b..0961aacc0 100644 --- a/packages/ui-react/src/components/Button/Button.tsx +++ b/packages/ui-react/src/components/Button/Button.tsx @@ -79,7 +79,7 @@ const Button: React.FC = ({ } return ( - );