Skip to content

Commit

Permalink
FIX discord banner
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Sep 9, 2023
1 parent bc58a65 commit ba84f23
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 @@ -15,7 +15,7 @@ export default function DiscordBanner() {
useEffect(() => {
axios.get('/api/public/info/discord').then((response) => {
const data = standardStatusHandler(response, enqueueSnackbar);
if (data && data.length > 0) {
if (data) {
setDiscordInfo(data);
}
}).catch(standardErrorHandler(enqueueSnackbar));
Expand Down

0 comments on commit ba84f23

Please sign in to comment.