Remove variable assignment
This commit is contained in:
parent
f974264d0e
commit
a7f32de605
|
@ -23,7 +23,7 @@ export function receiveChatMessage(
|
|||
return (dispatch, getState) => {
|
||||
channel = Number(channel);
|
||||
const state = getState();
|
||||
let isRead = false;
|
||||
let isRead;
|
||||
if (state.windows) {
|
||||
isRead = state.windows.windows.some(
|
||||
(win) => win.windowType === 'CHAT' && !win.hidden,
|
||||
|
|
Loading…
Reference in New Issue
Block a user