Add missing await statement

This commit is contained in:
Andrew Kingston 2022-09-05 14:55:17 +01:00
parent 8e49ad5e24
commit eb3203d307
1 changed files with 6 additions and 1 deletions

View File

@ -92,7 +92,12 @@
return
}
// Key events are always for the selected component
return handleKeyAction(e, $selectedComponent, e.key, e.ctrlKey || e.metaKey)
return await handleKeyAction(
e,
$selectedComponent,
e.key,
e.ctrlKey || e.metaKey
)
}
const handleComponentMenu = async e => {