diff --git a/src/js/components/Hotkeys.js b/src/js/components/Hotkeys.js index 7d77b161..c31d56ea 100755 --- a/src/js/components/Hotkeys.js +++ b/src/js/components/Hotkeys.js @@ -132,7 +132,7 @@ const Hotkeys = () => { dispatch(mopidyActions.setTimePosition(new_position)); dispatch(uiActions.createNotification({ content: 'fast_rewind', type: 'shortcut' })); }, - })); + }), {}, [play_time_position]); useHotkeys('f', (e) => prepare({ e, @@ -141,7 +141,7 @@ const Hotkeys = () => { dispatch(mopidyActions.setTimePosition(play_time_position + 30000)); dispatch(uiActions.createNotification({ content: 'fast_forward', type: 'shortcut' })); }, - })); + }), {}, [play_time_position]); useHotkeys(',', (e) => prepare({ e,