From 5cd80b5817ebacff1ae9aade0a1e63a196136df3 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Thu, 2 Jun 2022 00:58:20 +0200 Subject: [PATCH] fix: #122 was still not fixed for async patterns --- repl/src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repl/src/App.jsx b/repl/src/App.jsx index 5113844e..3f75a6bb 100644 --- a/repl/src/App.jsx +++ b/repl/src/App.jsx @@ -89,8 +89,8 @@ function App() { const handleKeyPress = async (e) => { if (e.ctrlKey || e.altKey) { if (e.code === 'Enter') { - await activateCode(); e.preventDefault(); + await activateCode(); } else if (e.code === 'Period') { cycle.stop(); e.preventDefault();