diff --git a/dailyjs/shared/contexts/tracksState.js b/dailyjs/shared/contexts/tracksState.js index 6bcdd19..c0a48fb 100644 --- a/dailyjs/shared/contexts/tracksState.js +++ b/dailyjs/shared/contexts/tracksState.js @@ -64,7 +64,7 @@ function tracksReducer(prevState, action) { const newSubscriptions = { ...subscriptions }; const newVideoTracks = { ...videoTracks }; - action.items.forEach(({ participant, track }) => { + action.items.forEach(([participant, track]) => { const id = participant ? getId(participant) : null; const screenId = participant ? getScreenId(id) : null;