refactor: removed redundant code

This commit is contained in:
themohammadsa 2023-06-21 22:44:05 +05:30
parent 6a13dbdebd
commit 37d4de440a

View file

@ -32,9 +32,9 @@ const getReloadMenu = (
click: () => { click: () => {
if (isDev) { if (isDev) {
mainWindow.webContents.reload(); mainWindow.webContents.reload();
return; // return;
} }
mainWindow.webContents.send('reload', {}); // mainWindow.webContents.send('reload', {});
}, },
}); });