fix: updated links

This commit is contained in:
JamesCJ 2020-11-01 13:22:07 +00:00
parent 2146cca48d
commit 806165e826

View File

@ -6,7 +6,7 @@ import { getTranslation } from "../contexts/LocaleContext";
import AppVersion from "../contexts/AppVersion"; import AppVersion from "../contexts/AppVersion";
const beerText = getTranslation("topbar.beer", "Buy us some beers ❤️"); const beerText = getTranslation("topbar.beer", "Buy us some beers ❤️");
const discordText = getTranslation("topbar.discord", "Join us on discord"); const discordText = getTranslation("topbar.discord", "Join our new discord server");
function TopBar() { function TopBar() {
return ( return (
@ -35,7 +35,7 @@ function TopBar() {
<Badge <Badge
className="uk-margin-left" className="uk-margin-left"
value={discordText} value={discordText}
onClick={openExternal("https://discord.gg/EahayUv")} onClick={openExternal("https://discord.gg/M3hVqnT4pQ")}
background="#888888" background="#888888"
/> />
<LightModeContext.Consumer> <LightModeContext.Consumer>
@ -73,4 +73,4 @@ function openExternal(url: string) {
}; };
} }
export default TopBar; export default TopBar;