File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,8 @@ class App extends Component {
239
239
path = "/:version/docs/api/@stdlib/:pkg*"
240
240
render = { this . renderReadme }
241
241
/>
242
- < Route exact path = "/" >
243
- < WelcomePage />
242
+ < Route exact path = "/:version/docs/api " >
243
+ < WelcomePage version = { this . state . version } />
244
244
</ Route >
245
245
</ Switch >
246
246
</ div >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import AddIcon from '@material-ui/icons/Add';
30
30
import RemoveIcon from '@material-ui/icons/Remove' ;
31
31
import IconButton from '@material-ui/core/IconButton' ;
32
32
import ClearIcon from '@material-ui/icons/Clear' ;
33
- import ChevronRightIcon from '@material-ui/icons/ChevronRight ' ;
33
+ import ChevronLeftIcon from '@material-ui/icons/ChevronLeft ' ;
34
34
import VERSIONS from './versions.json' ;
35
35
import Logo from './logo.jsx' ;
36
36
@@ -270,11 +270,11 @@ class MenuBar extends Component {
270
270
} }
271
271
>
272
272
< div className = "side-menu-head" >
273
- < Link to = "/" >
273
+ < Link to = { `/ ${ this . props . version } /docs/api` } >
274
274
< Logo />
275
275
</ Link >
276
276
< IconButton aria-label = "close drawer" onClick = { this . handleDrawerClose } edge = "start" >
277
- < ChevronRightIcon id = "menu-close-icon" />
277
+ < ChevronLeftIcon id = "menu-close-icon" />
278
278
</ IconButton >
279
279
</ div >
280
280
< select
You can’t perform that action at this time.
0 commit comments