Fix console warning about required property

This commit is contained in:
Deluan 2020-11-29 20:31:07 -05:00
parent 975579ab26
commit 7bd31da0d5
1 changed files with 1 additions and 1 deletions

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()