From 9d859c205a20770343582ef31b4ec1c52f670549 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 23 Jan 2024 20:46:49 +0200 Subject: [PATCH] fix: remove first rendering with 0 width --- src/components/General/EmojiPickerDialog.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/General/EmojiPickerDialog.tsx b/src/components/General/EmojiPickerDialog.tsx index 5073f59a..96d68d73 100644 --- a/src/components/General/EmojiPickerDialog.tsx +++ b/src/components/General/EmojiPickerDialog.tsx @@ -32,6 +32,10 @@ const EmojiPickerDialog = ({ emojiStyle, changeEmoji }: EmojiPickerProps) => { } } + if (windowSize.width === 0) { + return null + } + return (