diff --git a/app/components/Button/index.tsx b/app/components/Button/index.tsx index 548802a8..c0c2bb52 100644 --- a/app/components/Button/index.tsx +++ b/app/components/Button/index.tsx @@ -8,14 +8,12 @@ type ButtonProps = { className?: string tooltip?: string icon?: ReactNode - leftIcon?: ReactNode } -const Button = ({children, action, tooltip, icon, leftIcon, className}: ButtonProps) => { +const Button = ({children, action, tooltip, icon, className}: ButtonProps) => { const classes = ['button', className, tooltip && 'tooltip'].filter((i) => i).join(' ') if (typeof action === 'string') { return ( - {leftIcon && leftIcon} {children} {icon && icon} @@ -23,7 +21,6 @@ const Button = ({children, action, tooltip, icon, leftIcon, className}: ButtonPr } return (