From 3f27eb643ebc0481134a0ca97ffb7a7bb95dae58 Mon Sep 17 00:00:00 2001 From: night0721 Date: Sun, 9 Jan 2022 05:35:42 +0800 Subject: [PATCH] github --- pages/github.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pages/github.js diff --git a/pages/github.js b/pages/github.js new file mode 100644 index 0000000..8d47bd2 --- /dev/null +++ b/pages/github.js @@ -0,0 +1,9 @@ +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; +}