From 67eb2693471f3ac6c3374b95a15623c319cf2f4a Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:58 +0530 Subject: [PATCH] feat: redirect the admin home to projects --- app/routes/admin/index.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/routes/admin/index.tsx diff --git a/app/routes/admin/index.tsx b/app/routes/admin/index.tsx new file mode 100644 index 0000000..9f5b78d --- /dev/null +++ b/app/routes/admin/index.tsx @@ -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; +}