23 lines
542 B
TypeScript
23 lines
542 B
TypeScript
import { useEffect, useState } from 'react';
|
|
import { useRouter } from 'next/router';
|
|
import { Flex } from '@mantine/core';
|
|
import { AuthenticationForm } from '@/components/Forms/AuthenticationForm';
|
|
|
|
export default function HomePage() {
|
|
const router = useRouter();
|
|
// const [checking, setChecking] = useState(true);
|
|
// useEffect(() => {
|
|
// router.replace('/login').then(() => setChecking(false));
|
|
// }, [router]);
|
|
//
|
|
// if (checking) {
|
|
// return <p>Checking login status...</p>;
|
|
// }
|
|
|
|
return (
|
|
<>
|
|
|
|
</>
|
|
);
|
|
}
|