forked from rajun/ar-test
feat: redirect the admin home to projects
This commit is contained in:
parent
897da8eac6
commit
67eb269347
10
app/routes/admin/index.tsx
Normal file
10
app/routes/admin/index.tsx
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { redirect } from 'react-router';
|
||||||
|
import { ROUTES } from '~/data/routes';
|
||||||
|
|
||||||
|
export function clientLoader() {
|
||||||
|
return redirect(ROUTES.projects);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function AdminIndex() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user