diff --git a/ui/src/App.js b/ui/src/App.js index 903674ea1..8aec2a04d 100644 --- a/ui/src/App.js +++ b/ui/src/App.js @@ -110,6 +110,7 @@ const Admin = (props) => { , , , + , , ]} diff --git a/ui/src/audioplayer/Player.js b/ui/src/audioplayer/Player.js index 1ec2421d0..3bda8adf8 100644 --- a/ui/src/audioplayer/Player.js +++ b/ui/src/audioplayer/Player.js @@ -256,7 +256,9 @@ const Player = () => { const onAudioEnded = useCallback( (currentPlayId, audioLists, info) => { dispatch(currentPlaying(info)) - dataProvider.getOne('keepalive', { id: info.trackId }) + dataProvider + .getOne('keepalive', { id: info.trackId }) + .catch((e) => console.log('Keepalive error:', e)) }, [dispatch, dataProvider] )