feat(eom): frame work added in for eom

This commit is contained in:
2025-03-05 20:15:38 -06:00
parent 50cf87380d
commit fda0719d87
14 changed files with 708 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
import {createFileRoute, redirect} from "@tanstack/react-router";
export const Route = createFileRoute("/_eom")({
//component: RouteComponent,
beforeLoad: async () => {
const auth = localStorage.getItem("auth_token");
if (!auth) {
throw redirect({
to: "/login",
});
}
},
});