Skip to content

🎧 Your Personal Streaming Service

Fix console warning about required property

Deluan7bd31da0d500
diff --git a/ui/src/audioplayer/PlayerToolbar.js b/ui/src/audioplayer/PlayerToolbar.js
index 5cc381d42..6083fff9a 100644
--- a/ui/src/audioplayer/PlayerToolbar.js
+++ b/ui/src/audioplayer/PlayerToolbar.js
@@ -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()