portal-dashboard/app/routes/_index.tsx

13 lines
347 B
TypeScript
Raw Normal View History

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