mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
16 lines
357 B
TypeScript
16 lines
357 B
TypeScript
import { useEffect } from "react";
|
|
import { homePageRedirect } from "lib/auth";
|
|
// types
|
|
import type { NextPage, NextPageContext } from "next";
|
|
import { useRouter } from "next/router";
|
|
|
|
const Home: NextPage = () => {
|
|
const router = useRouter();
|
|
|
|
useEffect(() => {
|
|
router.push("/onboarding");
|
|
}, []);
|
|
return <>loading</>;
|
|
};
|
|
export default Home;
|