Moving search context to URI component

This commit is contained in:
James Barnsley
2018-01-05 21:31:59 +13:00
parent 90eda428c2
commit 910f03a8c8
7 changed files with 134 additions and 76 deletions

View File

@ -67,7 +67,7 @@ ReactDOM.render(
<Route path="settings/debug" component={Debug} />
<Route path="settings(/:sub_view)" component={Settings} />
<Route path="search(/search::view::query)" component={Search} />
<Route path="search(/:query)" component={Search} />
<Route path="album/:uri" component={Album} />
<Route path="artist/:uri(/:sub_view)" component={Artist} />
<Route path="playlist/:uri" component={Playlist} />