From 0bec38f090ca7f0019ef79720ef472b4dd4152cb Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 1 Jul 2023 16:59:57 -0700 Subject: [PATCH] fix: :loud_sound: log emoji picker errors --- packages/client/src/components/MkEmojiPickerDialog.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/MkEmojiPickerDialog.vue b/packages/client/src/components/MkEmojiPickerDialog.vue index fec014e40..8bbb4bb85 100644 --- a/packages/client/src/components/MkEmojiPickerDialog.vue +++ b/packages/client/src/components/MkEmojiPickerDialog.vue @@ -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(); }