From 2e5990d057fe64f88d48d1cd481b020b77f81b9c Mon Sep 17 00:00:00 2001
From: Philipinho <16838612+Philipinho@users.noreply.github.com>
Date: Mon, 17 Mar 2025 11:23:57 +0000
Subject: [PATCH] Move suspense above popover dropdown
---
.../client/src/components/ui/emoji-picker.tsx | 36 +++++++++----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/apps/client/src/components/ui/emoji-picker.tsx b/apps/client/src/components/ui/emoji-picker.tsx
index aff2e7f7..952c1171 100644
--- a/apps/client/src/components/ui/emoji-picker.tsx
+++ b/apps/client/src/components/ui/emoji-picker.tsx
@@ -68,8 +68,8 @@ function EmojiPicker({
{icon}
-
-
+
+
(await import("@emoji-mart/data")).default}
onEmojiSelect={handleEmojiSelect}
@@ -77,22 +77,22 @@ function EmojiPicker({
skinTonePosition="search"
theme={colorScheme}
/>
-
-
-
+
+
+
);
}