Commit 6816dd86 authored by Erwin Zhang's avatar Erwin Zhang Committed by ι™ˆεΈ…

rename MeunContext to MenuContext

parent fd0926bd
...@@ -13,7 +13,7 @@ import Sidebar from '../components/Sidebar'; ...@@ -13,7 +13,7 @@ import Sidebar from '../components/Sidebar';
import logo from '../assets/logo.svg'; import logo from '../assets/logo.svg';
import Footer from './Footer'; import Footer from './Footer';
import Header from './Header'; import Header from './Header';
import Context from './MeunContext'; import Context from './MenuContext';
const { Content } = Layout; const { Content } = Layout;
const { AuthorizedRoute, check } = Authorized; const { AuthorizedRoute, check } = Authorized;
......
...@@ -3,7 +3,7 @@ import { Link } from 'dva/router'; ...@@ -3,7 +3,7 @@ import { Link } from 'dva/router';
import PageHeader from '../components/PageHeader'; import PageHeader from '../components/PageHeader';
import GridContent from './GridContent'; import GridContent from './GridContent';
import styles from './PageHeaderLayout.less'; import styles from './PageHeaderLayout.less';
import MenuContext from './MeunContext'; import MenuContext from './MenuContext';
const PageHeaderLayout = ({ children, wrapperClassName, top, ...restProps }) => ( const PageHeaderLayout = ({ children, wrapperClassName, top, ...restProps }) => (
<div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment