9 lines
245 B
JavaScript
9 lines
245 B
JavaScript
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;
|
|
}
|