mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
electron-main: Use const instead of let for the index variable.
This commit is contained in:
parent
1e05af203c
commit
2571c26372
@ -394,7 +394,7 @@ ipcMain.on('seshat', async function(ev, payload) {
|
||||
|
||||
case 'closeEventIndex':
|
||||
if (eventIndex !== null) {
|
||||
let index = eventIndex;
|
||||
const index = eventIndex;
|
||||
eventIndex = null;
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user