2024-03-20 17:26:41 +00:00
|
|
|
import {Authenticated} from "@refinedev/core";
|
|
|
|
import {Navigate} from "@remix-run/react";
|
2024-03-05 16:56:17 +00:00
|
|
|
|
|
|
|
export default function Index() {
|
2024-03-20 17:26:41 +00:00
|
|
|
return (
|
2024-03-22 18:33:30 +00:00
|
|
|
<Authenticated key={"index"} loading={
|
2024-03-20 17:26:41 +00:00
|
|
|
<>Checking Login Status</>
|
|
|
|
}>
|
|
|
|
<Navigate to="/dashboard" replace/>
|
|
|
|
</Authenticated>
|
|
|
|
)
|
2024-03-05 16:56:17 +00:00
|
|
|
}
|