From 6816dd86350fca62cb031327306f926307cee6b7 Mon Sep 17 00:00:00 2001 From: Erwin Zhang Date: Mon, 7 May 2018 23:29:26 +0700 Subject: [PATCH] rename MeunContext to MenuContext --- src/layouts/BasicLayout.js | 2 +- src/layouts/{MeunContext.js => MenuContext.js} | 0 src/layouts/PageHeaderLayout.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/layouts/{MeunContext.js => MenuContext.js} (100%) diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index 26d7f9e2..28843449 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -13,7 +13,7 @@ import Sidebar from '../components/Sidebar'; import logo from '../assets/logo.svg'; import Footer from './Footer'; import Header from './Header'; -import Context from './MeunContext'; +import Context from './MenuContext'; const { Content } = Layout; const { AuthorizedRoute, check } = Authorized; diff --git a/src/layouts/MeunContext.js b/src/layouts/MenuContext.js similarity index 100% rename from src/layouts/MeunContext.js rename to src/layouts/MenuContext.js diff --git a/src/layouts/PageHeaderLayout.js b/src/layouts/PageHeaderLayout.js index 20438ddd..2d5df965 100644 --- a/src/layouts/PageHeaderLayout.js +++ b/src/layouts/PageHeaderLayout.js @@ -3,7 +3,7 @@ import { Link } from 'dva/router'; import PageHeader from '../components/PageHeader'; import GridContent from './GridContent'; import styles from './PageHeaderLayout.less'; -import MenuContext from './MeunContext'; +import MenuContext from './MenuContext'; const PageHeaderLayout = ({ children, wrapperClassName, top, ...restProps }) => (
-- GitLab