diff --git a/src/electron-main.js b/src/electron-main.js index 30efa4b..2cd6c66 100644 --- a/src/electron-main.js +++ b/src/electron-main.js @@ -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 {