removed unneccesary routes

This commit is contained in:
Anton Tranelis 2024-07-16 11:35:05 +02:00
parent 7b52bec0c2
commit 6219fae2c2
3 changed files with 86 additions and 1502 deletions

1583
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,8 +18,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-rnd": "^10.4.1",
"react-router-dom": "^6.23.0",
"utopia-ui": "^3.0.0-alpha.194"
"react-router-dom": "^6.23.0"
},
"devDependencies": {
"@types/react": "^18.2.79",

View File

@ -102,10 +102,8 @@ function App() {
<Route path='signup' element={<SignupPage />} />
<Route path='reset-password' element={<RequestPasswordPage reset_url={map.url + "/set-new-password/"} />} />
<Route path='set-new-password' element={<SetNewPasswordPage />} />
<Route path="profile/*" element={<OverlayProfile />} />
<Route path="item/*" element={<OverlayItemProfile userType={map.user_type.name} />} />
<Route path="edit-item/*" element={<OverlayItemProfileSettings userType={map.user_type.name}/>} />
<Route path="profile-settings" element={<OverlayProfileSettings />} />
<Route path="user-settings" element={<OverlayUserSettings />} />
<Route path="moon-calendar" element={<MoonCalendar />} />
<Route path="landingpage" element={<Landingpage />} />