1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

update routes

This commit is contained in:
adrifcastr 2023-07-04 14:33:11 +02:00
parent 7cbe8e1d00
commit 21a0757af0

View file

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