nyx-dashboard/pages/discord.js

10 lines
245 B
JavaScript
Raw Permalink Normal View History

2023-03-03 17:48:43 +01:00
import {useRouter} from "next/router";
import {useEffect} from "react";
export default function Discord() {
const page = useRouter();
useEffect(() => {
page.push("http://discord.gg/SbQHChmGcp");
}, []);
return () => null;
}