nyx-dashboard/pages/github.js

10 lines
247 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 Github() {
const page = useRouter();
useEffect(() => {
page.push("http://github.com/night0721");
}, []);
return () => null;
}