fix: #122 was still not fixed for async patterns
This commit is contained in:
parent
6306cc9c34
commit
5cd80b5817
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue