feat(migration): moved helper commands

This commit is contained in:
2025-10-26 11:32:29 -05:00
parent 1da7b145a9
commit 39c31aa1ec
21 changed files with 470 additions and 1304 deletions

View File

@@ -0,0 +1,28 @@
import { createFileRoute } from "@tanstack/react-router";
import HelperPage from "../../-components/logistics/helperCommands/helperPage";
export const Route = createFileRoute("/_old/old/(logistics)/helperCommands/")({
component: RouteComponent,
// beforeLoad: async () => {
// const auth = localStorage.getItem("auth_token");
// if (!auth) {
// throw redirect({
// to: "/login",
// search: {
// // Use the current location to power a redirect after login
// // (Do not use `router.state.resolvedLocation` as it can
// // potentially lag behind the actual current location)
// redirect: location.pathname + location.search,
// },
// });
// }
// },
});
function RouteComponent() {
return (
<div>
<HelperPage />
</div>
);
}