This commit is contained in:
Timothy J. Baek
2024-06-10 20:58:47 -07:00
parent e27c264081
commit 6589464ddf
5 changed files with 64 additions and 42 deletions
+1 -7
View File
@@ -113,13 +113,7 @@
const handleSave = async (e) => {
if ((e.ctrlKey || e.metaKey) && e.key === 's') {
e.preventDefault();
const res = await formatPythonCodeHandler().catch((error) => {
return null;
});
if (res) {
dispatch('save');
}
dispatch('save');
}
};