adjust routes

This commit is contained in:
castdrian 2023-07-22 22:42:16 +02:00
parent e86a9c2698
commit 386afd21ea
No known key found for this signature in database

View File

@ -84,7 +84,8 @@ function App() {
<Route exact path="/search/:type"> <Route exact path="/search/:type">
<Redirect to="/browse" /> <Redirect to="/browse" />
</Route> </Route>
<Route path={["/", "/browse/:query"]} component={SearchView} /> <Route exact path="/browse/:query" component={SearchView} />
<Route exact path="/" component={SearchView} />
{/* other */} {/* other */}
<Route <Route
exact exact