chore(CommandPalette): remove timeout on query clear

This commit is contained in:
Benjamin Canac
2022-07-18 15:37:35 +02:00
parent 222bb987a4
commit af870f90ec

View File

@@ -141,9 +141,7 @@ function onSelect (option: Command) {
// waiting for modal to be closed
if (!option.prevent) {
setTimeout(() => {
query.value = ''
}, 300)
query.value = ''
}
}