Remove variable assignment

This commit is contained in:
sallbet 2023-03-13 03:57:05 +03:00
parent f974264d0e
commit a7f32de605
Signed by: sallbet
GPG Key ID: 3C8A1BC17088B308

View File

@ -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,