fix: 🔊 log emoji picker errors

This commit is contained in:
ThatOneCalculator 2023-07-01 16:59:57 -07:00
parent ba6502a45b
commit 3db785444a
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 6 additions and 1 deletions

View File

@ -65,7 +65,12 @@ function chosen(emoji: any) {
}
function opening() {
// picker.value?.reset();
try {
picker.value?.reset();
}
catch (e) {
console.error(`Something's wrong with restting the emoji picker: ${e}`)
}
picker.value?.focus();
}
</script>