From 7bd31da0d5006716e495a78fd48480af91d9491a Mon Sep 17 00:00:00 2001 From: Deluan Date: Sun, 29 Nov 2020 20:31:07 -0500 Subject: [PATCH] Fix console warning about required property --- ui/src/audioplayer/PlayerToolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => +const Placeholder = () => const Toolbar = ({ id }) => { const location = useLocation()