electron-main: Use const instead of let for the index variable.

This commit is contained in:
Damir Jelić 2020-03-24 14:23:49 +01:00
parent 1e05af203c
commit 2571c26372

View File

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