Browse Source

Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0

pull/1623/head
afc163 9 years ago
parent
commit
cd3904b436
  1. 3
      site/component/Header/index.jsx

3
site/component/Header/index.jsx

@ -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];

Loading…
Cancel
Save