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

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>