remove link from aws, use new hardcoded link

pull/295/head
Tim Pechersky 2021-09-29 18:07:31 +02:00
rodzic f2c7053daf
commit 96ba2dc829
1 zmienionych plików z 5 dodań i 10 usunięć

Wyświetl plik

@ -8,15 +8,6 @@ const Navbar = React.lazy(() => import("../components/Navbar"));
const RootLayout = (props) => {
const ui = useContext(UIContext);
const [showBanner, setShowBanner] = useState(true);
const [discordURL, setDiscordURL] = useState();
let url =
"https://s3.amazonaws.com/static.simiotics.com/moonstream/discord_link.json";
fetch(url)
.then((res) => res.json())
.then((out) => setDiscordURL(out?.link))
.catch((err) => console.error(err));
return (
<Flex
@ -68,7 +59,11 @@ const RootLayout = (props) => {
>
Join early. Our first 1000 users get free lifetime access to
blockchain analytics. Contact our team on{" "}
<Link isExternal href={discordURL} color="orange.900">
<Link
isExternal
href={"https://discord.gg/K56VNUQGvA"}
color="orange.900"
>
Discord
</Link>
</Text>