Fix console warning about required property
This commit is contained in:
parent
975579ab26
commit
7bd31da0d5
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { useGetOne } from 'react-admin'
|
||||||
import { StarButton, useToggleStar } from '../common'
|
import { StarButton, useToggleStar } from '../common'
|
||||||
import { useHotkeys } from 'react-hotkeys-hook'
|
import { useHotkeys } from 'react-hotkeys-hook'
|
||||||
|
|
||||||
const Placeholder = () => <StarButton disabled={true} />
|
const Placeholder = () => <StarButton disabled={true} resource={'song'} />
|
||||||
|
|
||||||
const Toolbar = ({ id }) => {
|
const Toolbar = ({ id }) => {
|
||||||
const location = useLocation()
|
const location = useLocation()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue