1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 18:56:22 +00:00

Remove obsolete route path

This commit is contained in:
bimlas
2018-04-11 11:45:16 +02:00
parent 84925b24b5
commit 24b004bb2d
2 changed files with 1 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ class SideNav extends React.Component {
let component let component
// TagsMode is not selected // TagsMode is not selected
if (!location.pathname.match('/tags') && !location.pathname.match('/alltags') && !location.pathname.match('/narrowToTag')) { if (!location.pathname.match('/tags') && !location.pathname.match('/alltags')) {
component = ( component = (
<div> <div>
<SideNavFilter <SideNavFilter

View File

@@ -112,9 +112,6 @@ ReactDOM.render((
<IndexRedirect to='/alltags' /> <IndexRedirect to='/alltags' />
<Route path=':tagname' /> <Route path=':tagname' />
</Route> </Route>
<Route path='narrowToTag'>
<Route path=':tag' />
</Route>
<Route path='storages'> <Route path='storages'>
<IndexRedirect to='/home' /> <IndexRedirect to='/home' />
<Route path=':storageKey'> <Route path=':storageKey'>