Skip to content

Commit

Permalink
CHG skip ad if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Dec 6, 2023
1 parent d8d45b3 commit 5eb5633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/core/DiscordBanner/DiscordBanner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function DiscordBanner() {
}).catch(standardErrorHandler(enqueueSnackbar));
}, []);

if (discordInfo === null) {
if (discordInfo === null || Object.keys(discordInfo).length === 0) {
return null;
}

Expand Down

0 comments on commit 5eb5633

Please sign in to comment.