Removed extra props

This commit is contained in:
Kasper Juul Hermansen 2021-11-21 17:03:40 +01:00
parent 3c5fe488cd
commit 3eb0e0592d
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -51,7 +51,6 @@ export const AddProjectButton: FC<AddProjectButtonProps> = (props) => {
<span> <span>
<OutlinedButton <OutlinedButton
className="whitespace-nowrap" className="whitespace-nowrap"
{...props}
onClick={() => setMenuIsOpen(true)} onClick={() => setMenuIsOpen(true)}
> >
{props.children || "Add project"} {props.children || "Add project"}