10 lines
236 B
JavaScript
10 lines
236 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;
|
||
|
}
|