diff --git a/main/index.js b/main/index.js index f07e987..49c71ad 100644 --- a/main/index.js +++ b/main/index.js @@ -417,6 +417,8 @@ const cleanup = async () => { watcher = null; } + if (!store) return; + const originalSettings = store.get('originalDebugSettings'); if (originalSettings && originalSettings.directory) { const configPath = path.join(originalSettings.directory, 'wp-config.php'); diff --git a/renderer/src/App.js b/renderer/src/App.js index da0fca7..bee440d 100644 --- a/renderer/src/App.js +++ b/renderer/src/App.js @@ -164,13 +164,6 @@ function App() { } }); - return filteredEntries.map((entry, index) => { - - return filteredEntries.map(({ entry, originalIndex }, idx) => { - return filteredEntries.map((entry, idx) => { - return ; - }); - }; return filteredEntries.map((entry, idx) => { return ; });