From 47c659aa7e6404490373d18a528ba46e113905bf Mon Sep 17 00:00:00 2001 From: Peter Hanania Date: Sat, 12 Nov 2022 11:41:08 -0500 Subject: [PATCH] Fixed the Discord Link not working --- pages/discord.tsx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pages/discord.tsx b/pages/discord.tsx index 0fb1771..04813ed 100644 --- a/pages/discord.tsx +++ b/pages/discord.tsx @@ -1,7 +1,19 @@ +import Head from "next/head"; +import { useEffect } from "react"; + /* eslint-disable @next/next/no-img-element */ -export default function fof() { +export default function DiscordRedirect() { + useEffect(() => { + setTimeout(() => { + window.location.href = "https://discord.gg/W2zPcgG9F5"; + }, 2000); + }, []); + return ( <> + + 📦 Discord Package Discord 📦 +
@@ -27,8 +39,6 @@ export default function fof() {
- {/* eslint-disable-next-line react/no-unescaped-entities */} -
);