Fix console warning about required property

This commit is contained in:
Deluan 2020-11-29 20:31:07 -05:00 committed by Joe Stump
parent f70becc0d3
commit 36426bdafd
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -4,7 +4,7 @@ import { useGetOne } from 'react-admin'
import { StarButton, useToggleStar } from '../common'
import { useHotkeys } from 'react-hotkeys-hook'
const Placeholder = () => <StarButton disabled={true} />
const Placeholder = () => <StarButton disabled={true} resource={'song'} />
const Toolbar = ({ id }) => {
const location = useLocation()