feat: renamed old frontend and fixed some minor bugs

This commit is contained in:
=
2025-01-06 14:56:49 +05:30
parent 8c902d7699
commit 54377a44d3
2577 changed files with 35240 additions and 35116 deletions
+8 -12
View File
@@ -1,13 +1,9 @@
import { useEffect } from "react";
import { useRouter } from "next/router";
import { createFileRoute, redirect } from "@tanstack/react-router";
export default function Home() {
const router = useRouter();
useEffect(() => {
router.push("/login");
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return <div className="w-screen bg-bunker-800" />;
}
export const Route = createFileRoute("/")({
beforeLoad: () => {
throw redirect({
to: "/login"
});
}
});