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:
@@ -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
|
||||||
|
|||||||
@@ -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'>
|
||||||
|
|||||||
Reference in New Issue
Block a user