diff --git a/web/redux/redux-setup.js b/web/redux/redux-setup.js --- a/web/redux/redux-setup.js +++ b/web/redux/redux-setup.js @@ -290,7 +290,7 @@ ...state.threadStore, threadInfos: { ...state.threadStore.threadInfos, - [activeThread]: { + [(activeThread: string)]: { ...state.threadStore.threadInfos[activeThread], currentUser: { ...state.threadStore.threadInfos[activeThread].currentUser, @@ -313,7 +313,7 @@ ...state, threadActivityStore: { ...state.threadActivityStore, - [activeThread]: { + [(activeThread: string)]: { ...state.threadActivityStore[activeThread], lastNavigatedTo: now, },