Skip to content

Commit 71493a9

Browse files
committed
Testing if window.location.reload() can be removed
1 parent 0f24b4e commit 71493a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/components/HelmetProject/HelmetProject.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ const HelmetProject = ({
216216
setOpenScenarioID(null);
217217
setScenarios(scenarios.filter((s) => s.id !== scenario.id));
218218
fs.unlinkSync(path.join(projectPath, `${scenario.name}.json`));
219-
window.location.reload(); // Vex-js dialog input gets stuck otherwise
219+
// window.location.reload(); // Testing if the new version works without this hack...
220220
}
221221
};
222222

0 commit comments

Comments
 (0)