Skip to content

Commit

Permalink
提交Sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
刘珅 committed Apr 4, 2017
1 parent 9be88b3 commit bfc5cca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/javascripts/admin/containers/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Layout } from "antd";
import HeaderNavbar from '../components/HeaderNavbar';
import SiderMenu from '../components/SiderMenu';
import Sidebar from '../components/Sidebar';
import '../../../styles/admin/app.css';

const { Content, Sider } = Layout;
Expand Down Expand Up @@ -43,7 +43,7 @@ class App extends Component {
collapsed={this.state.collapsed}
onCollapse={this.onCollapse.bind(this)}
>
<SiderMenu mode={this.state.mode}
<Sidebar mode={this.state.mode}
location={location}
collapsed={this.state.collapsed}/>
</Sider>
Expand Down

0 comments on commit bfc5cca

Please sign in to comment.