From 3fcd79a37a7bc7bd45e3235f314038625de4c05d Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 28 Aug 2018 16:34:54 +0800 Subject: [PATCH] Fix typo: SettingDarwer => SettingDrawer --- src/components/SettingDrawer/index.js | 4 ++-- src/layouts/BasicLayout.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/SettingDrawer/index.js b/src/components/SettingDrawer/index.js index f29d8752..47e1b6c4 100644 --- a/src/components/SettingDrawer/index.js +++ b/src/components/SettingDrawer/index.js @@ -20,7 +20,7 @@ const Body = ({ children, title, style }) => ( ); @connect(({ setting }) => ({ setting })) -class SettingDarwer extends PureComponent { +class SettingDrawer extends PureComponent { getLayOutSetting = () => { const { setting: { grid, fixedHeader, layout, autoHideHeader, fixSiderbar }, @@ -233,4 +233,4 @@ class SettingDarwer extends PureComponent { } } -export default SettingDarwer; +export default SettingDrawer; diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index c96e64d8..ed4b09b0 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -10,7 +10,7 @@ import pathToRegexp from 'path-to-regexp'; import { formatMessage } from 'umi/locale'; import SiderMenu from '@/components/SiderMenu'; import Authorized from '@/utils/Authorized'; -import SettingDarwer from '@/components/SettingDarwer'; +import SettingDrawer from '@/components/SettingDrawer'; import logo from '../assets/logo.svg'; import Footer from './Footer'; import Header from './Header'; @@ -202,7 +202,7 @@ class BasicLayout extends React.PureComponent { )} - {this.state.rendering ? null : } + {this.state.rendering ? null : } ); } -- GitLab