Skip to content

Commit

Permalink
CHG remove default text for discord info
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Sep 9, 2023
1 parent 7d332aa commit bc58a65
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions web/src/components/core/DiscordBanner/DiscordBanner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,7 @@ import standardStatusHandler from '../../../utils/standardStatusHandler';


export default function DiscordBanner() {
const defaultInfo = {
'severity': 'info',
'title': 'Anubis Discord',
'content': 'Anubis was created by a single sophomore just like you, and is now run by students. ' +
'If you want to grow and work on something more rewarding ' +
'than your classes join our discord. Challenge yourself to do better.',
'action': {
'href': 'https://github.com/AnubisLMS/Anubis',
'label': 'Anubis Discord',
},
};

console.log(JSON.stringify(defaultInfo));

const [discordInfo, setDiscordInfo] = useState(defaultInfo);
const [discordInfo, setDiscordInfo] = useState(null);
const {enqueueSnackbar} = useSnackbar();


Expand Down

0 comments on commit bc58a65

Please sign in to comment.