Still trying to sniff out cause of re-render when using array-wrapped values

This commit is contained in:
James Barnsley
2020-09-26 22:00:12 +12:00
parent a409ca0f85
commit 3a6d243430
10 changed files with 94 additions and 163 deletions

View File

@ -80,7 +80,7 @@ export default function reducer(mopidy = {}, action) {
return { ...mopidy, mute: action.mute };
case 'MOPIDY_TIME_POSITION':
return { ...mopidy, time_position: action.time_position };
return mopidy;//{ ...mopidy, time_position: action.time_position };
case 'MOPIDY_QUEUE_HISTORY':
var history = [];