fix emote array load
This commit is contained in:
parent
1bf530a6cc
commit
ff575b3d64
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ const Home: NextPageWithLayout = () => {
|
||||||
className="ml-4 mr-6"
|
className="ml-4 mr-6"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
if (emotesUrls) {
|
// if the emotes are loaded, show the slideshow
|
||||||
|
if (emotesUrls.length > 0) {
|
||||||
slideShow = (
|
slideShow = (
|
||||||
<Image
|
<Image
|
||||||
src={emotesUrls[currentEmote]}
|
src={emotesUrls[currentEmote]}
|
||||||
|
|
Loading…
Reference in a new issue