aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-05-09 21:36:40 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-05-09 21:36:40 -0500
commit5e4ffa2aa90f60fccf9105db0cc6d164c158bee0 (patch)
treef7166d42fd4af33470839cc00a5cada690d55d83 /src
parent95484c09dfc9e1e7ad982bb38b349ee4bf45f48b (diff)
downloadslskd-5e4ffa2aa90f60fccf9105db0cc6d164c158bee0.tar.gz
add id to searches route
Diffstat (limited to 'src')
-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}/>)}/>