fix: 🔊 log emoji picker errors
This commit is contained in:
parent
03aa3af670
commit
0bec38f090
1 changed files with 6 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue