From bc58a65dcb70238491b6c627f30c502e178b691b Mon Sep 17 00:00:00 2001 From: John McCann Cunniff Jr Date: Fri, 8 Sep 2023 22:54:36 -0400 Subject: [PATCH] CHG remove default text for discord info --- .../core/DiscordBanner/DiscordBanner.jsx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/web/src/components/core/DiscordBanner/DiscordBanner.jsx b/web/src/components/core/DiscordBanner/DiscordBanner.jsx index 5cdd67e9..a87ff0e6 100644 --- a/web/src/components/core/DiscordBanner/DiscordBanner.jsx +++ b/web/src/components/core/DiscordBanner/DiscordBanner.jsx @@ -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();