From ff575b3d64f4ff8f4dcf924477066f0bd662e3b0 Mon Sep 17 00:00:00 2001 From: 3zachm <3zachn4@gmail.com> Date: Mon, 12 Dec 2022 01:19:17 -0800 Subject: [PATCH] fix emote array load --- pages/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/index.tsx b/pages/index.tsx index 94389f8..c90faec 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -62,7 +62,8 @@ const Home: NextPageWithLayout = () => { className="ml-4 mr-6" /> ); - if (emotesUrls) { + // if the emotes are loaded, show the slideshow + if (emotesUrls.length > 0) { slideShow = (