This commit is contained in:
Alex Holliday committed 2026-02-06 23:37:25 +00:00
1 parent 5152336591
commit 734ec41ca0
4 files changed
+1 -493

No files matched your search

+1 -7
View File
@@ -10,7 +10,6 @@ import NotFound from "../Pages/NotFound/index.jsx";
// Auth
import AuthLogin from "../Pages/Auth/Login";
import AuthRegister from "@/Pages/Auth/Register";
import OldAuthRegister from "../Pages/Auth/Register/old.jsx";
import AuthForgotPassword from "@/Pages/Auth/Recovery";
import AuthCheckEmail from "../Pages/Auth/CheckEmail.jsx";
import AuthSetNewPassword from "../Pages/Auth/SetNewPassword.jsx";
@@ -63,8 +62,7 @@ import CreateMonitor from "@/Pages/CreateMonitor";
const Routes = () => {
const mode = useSelector((state) => state.ui.mode);
// const AdminCheckedRegister = withAdminCheck(AuthRegister);
const AdminCheckedRegister = AuthRegister;
const AdminCheckedRegister = withAdminCheck(AuthRegister);
const v2theme = mode === "light" ? lightTheme : darkTheme;
return (
<LibRoutes>
@@ -382,10 +380,6 @@ const Routes = () => {
</>
}
/>
<Route
path="/register-old"
element={<OldAuthRegister />}
/>
<Route
exact