From e5f4606a6c36b9fdaf5277146d73442f9288a6df Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Fri, 30 Jan 2026 17:07:35 -0800 Subject: [PATCH] Update CircleButton component to include default button type - Added a default `type` prop set to 'button' in the CircleButton component to ensure proper button behavior. - Enhanced the component's flexibility by allowing the type to be overridden through props. --- app/src/components/ui/circle-button.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/components/ui/circle-button.tsx b/app/src/components/ui/circle-button.tsx index 268843ed..88394399 100644 --- a/app/src/components/ui/circle-button.tsx +++ b/app/src/components/ui/circle-button.tsx @@ -6,10 +6,11 @@ export interface CircleButtonProps extends React.ButtonHTMLAttributes( - ({ className, icon: Icon, ...props }, ref) => { + ({ className, icon: Icon, type = 'button', ...props }, ref) => { return (