mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 13:39:58 +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':
|
case 'closeEventIndex':
|
||||||
if (eventIndex !== null) {
|
if (eventIndex !== null) {
|
||||||
let index = eventIndex;
|
const index = eventIndex;
|
||||||
eventIndex = null;
|
eventIndex = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user