modified: frontend/src/App.tsx
modified: frontend/src/components/Sidebar.tsx
This commit is contained in:
@@ -125,17 +125,6 @@ function App() {
|
||||
</PrivateRoute>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/api-docs"
|
||||
action={() => {
|
||||
try {
|
||||
document.location.reload()
|
||||
return true
|
||||
} catch(err) {
|
||||
return false
|
||||
}
|
||||
}}
|
||||
/>
|
||||
<Route path="*" element={<Navigate to="/" />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
|
||||
Reference in New Issue
Block a user