mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-16 15:44:49 +00:00
main tabs replace current route
This commit is contained in:
parent
9747d7d676
commit
4b0c3cea3b
1 changed files with 4 additions and 4 deletions
|
|
@ -14,10 +14,10 @@ class Main extends Component {
|
|||
<div className={styles['root-container']}>
|
||||
<NavBar
|
||||
tabs={[
|
||||
{ icon: 'ic_board', label: 'Board', to: '/', exact: true },
|
||||
{ icon: 'ic_discover', label: 'Discover', to: '/discover' },
|
||||
{ icon: 'ic_library', label: 'Library', to: '/library' },
|
||||
{ icon: 'ic_calendar', label: 'Calendar', to: '/calendar' }
|
||||
{ icon: 'ic_board', label: 'Board', to: '/', exact: true, replace: true },
|
||||
{ icon: 'ic_discover', label: 'Discover', to: '/discover', replace: true },
|
||||
{ icon: 'ic_library', label: 'Library', to: '/library', replace: true },
|
||||
{ icon: 'ic_calendar', label: 'Calendar', to: '/calendar', replace: true }
|
||||
]}
|
||||
searchInput={true}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue