aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/web/src/components/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js
index c1b83a95..2a390de4 100644
--- a/src/web/src/components/App.js
+++ b/src/web/src/components/App.js
@@ -244,7 +244,7 @@ class App extends Component {
</Sidebar>
<Sidebar.Pusher className='app-content'>
<Switch>
- <Route path={`${urlBase}/searches`} render={(props) => this.withTokenCheck(<Searches {...props}/>)}/>
+ <Route path={`${urlBase}/searches/:id?`} render={(props) => this.withTokenCheck(<Searches {...props}/>)}/>
<Route path={`${urlBase}/browse`} render={(props) => this.withTokenCheck(<Browse {...props}/>)}/>
<Route path={`${urlBase}/users`} render={(props) => this.withTokenCheck(<Users {...props}/>)}/>
<Route path={`${urlBase}/chat`} render={(props) => this.withTokenCheck(<Chat {...props}/>)}/>