mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
21 lines
373 B
TypeScript
21 lines
373 B
TypeScript
|
"use client";
|
||
|
|
||
|
import { useEffect } from "react";
|
||
|
import { useRouter } from "next/navigation";
|
||
|
// components
|
||
|
import { PageHeader } from "@/components/core";
|
||
|
|
||
|
const RootPage = () => {
|
||
|
const router = useRouter();
|
||
|
|
||
|
useEffect(() => router.push("/login"), [router]);
|
||
|
|
||
|
return (
|
||
|
<>
|
||
|
<PageHeader title="Plane - God Mode" />
|
||
|
</>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default RootPage;
|