plane/apps/app/pages/index.tsx
2023-04-05 14:40:36 -04:00

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;