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 (