Big progress!

This commit is contained in:
Dave Richer
2023-12-11 19:28:27 -05:00
parent ad79344709
commit b0d1a7b65e
77 changed files with 721 additions and 521 deletions

View File

@@ -22,6 +22,7 @@ import {
} from "../redux/user/user.selectors";
import PrivateRoute from "../utils/private-route";
import "./App.styles.scss";
import {JobsPage} from "../pages/jobs/jobs.page";
const ResetPassword = lazy(() =>
import("../pages/reset-password/reset-password.component")
@@ -168,13 +169,13 @@ export function App({
<Route path="/disclaimer" element={<DisclaimerPage />} />
<Route path="/mp/:paymentIs" element={<MobilePaymentContainer />} />
<Route path="/manage" element={<PrivateRoute isAuthorized={currentUser.authorized} />}>
<Route path="/manage" element={<ManagePage />} />
<Route path="/manage/*" element={<ManagePage />} />
</Route>
<Route path="/tech" element={<PrivateRoute isAuthorized={currentUser.authorized} />}>
<Route path="/tech" element={<TechPageContainer />} />
<Route path="/tech/*" element={<TechPageContainer />} />
</Route>
<Route path="/edit" element={<PrivateRoute isAuthorized={currentUser.authorized} />}>
<Route path="/edit" element={<DocumentEditorContainer />} />
<Route path="/edit/*" element={<DocumentEditorContainer />} />
</Route>
</Routes>
</ErrorBoundary>