123
This commit is contained in:
22
pages/index.tsx
Normal file
22
pages/index.tsx
Normal file
@ -0,0 +1,22 @@
|
||||
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 (
|
||||
<>
|
||||
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user