From 834e575d17ea048c0c39bb33f9a4e54d0ff1a1c3 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Sat, 27 Sep 2025 09:13:04 +0330 Subject: [PATCH] fix maximum update --- src/components/Button.tsx | 6 +++--- src/pages/blogs/Update.tsx | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index d558a4a..0f09f00 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -12,7 +12,7 @@ type Props = { XOR<{ children: ReactNode }, { label: string }>; const Button: FC = memo((props) => { - const { variant = 'primary', size = 'md', className, ...restProps } = props; + const { variant = 'primary', size = 'md', className, isLoading, ...restProps } = props; const buttonClass = clx( 'flex rounded-xl items-center justify-center text-center font-medium transition-colors', @@ -33,12 +33,12 @@ const Button: FC = memo((props) => { return (