Fix "Failed prop type: Invalid prop variant" in console

This commit is contained in:
Deluan 2021-04-28 22:07:16 -04:00 committed by Joe Stump
parent f4e005bc5e
commit 556fd23a82
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -12,7 +12,7 @@ import {
} from 'react-admin'
import { Title } from '../common'
const SyncFragment = ({ formData, ...rest }) => {
const SyncFragment = ({ formData, variant, ...rest }) => {
return (
<Fragment>
{formData.path && <BooleanInput source="sync" {...rest} />}