🔇 frontend: silence a react warning for wrong property
This commit is contained in:
committed by
ericlinagora
parent
f109e9bcd9
commit
bc943d7f17
@@ -68,7 +68,7 @@ export const Button = (props: ButtonProps) => {
|
||||
props.className
|
||||
}
|
||||
disabled={disabled}
|
||||
{..._.omit(props, 'loading', 'children', 'className', 'icon')}
|
||||
{..._.omit(props, 'loading', 'children', 'className', 'icon', 'iconSize')}
|
||||
>
|
||||
{props.loading && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user