mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-28 22:26:22 +10:00
Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0
This commit is contained in:
@@ -78,7 +78,8 @@ export default class Header extends React.Component {
|
||||
|
||||
render() {
|
||||
const routes = this.props.routes;
|
||||
const activeMenuItem = routes[1].path || 'home';
|
||||
let activeMenuItem = routes[1].path || 'home';
|
||||
activeMenuItem = activeMenuItem === 'components' ? 'docs/react' : activeMenuItem;
|
||||
|
||||
const options = Object.keys(componentsList).map((key) => {
|
||||
return componentsList[key];
|
||||
|
||||
Reference in New Issue
Block a user