From 3db785444aa06c094caa6cb938e52846044f6c09 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 fec014e407..8bbb4bb850 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(); }