add youtube page
This commit is contained in:
parent
a06dcd0453
commit
1963d7f2eb
1 changed files with 9 additions and 0 deletions
9
pages/yt.js
Normal file
9
pages/yt.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { useRouter } from "next/router";
|
||||
import { useEffect } from "react";
|
||||
export default function Github() {
|
||||
const page = useRouter();
|
||||
useEffect(() => {
|
||||
page.push("http://youtube.com/Kirito01");
|
||||
}, []);
|
||||
return () => null;
|
||||
}
|
Loading…
Reference in a new issue