portal-dashboard/app/routes/_index.tsx

13 lines
316 B
TypeScript

import {Authenticated} from "@refinedev/core";
import {Navigate} from "@remix-run/react";
export default function Index() {
return (
<Authenticated key={"index"} loading={
<>Checking Login Status</>
}>
<Navigate to="/dashboard" replace/>
</Authenticated>
)
}