nyx-dashboard/pages/yt.js

10 lines
251 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 Youtube() {
const page = useRouter();
useEffect(() => {
2023-06-22 18:11:47 +02:00
page.push("https://www.youtube.com/@night0721");
2023-03-03 17:48:43 +01:00
}, []);
return () => null;
}