Commit 3fcd79a3 authored by afc163's avatar afc163 Committed by ι™ˆεΈ…

Fix typo: SettingDarwer => SettingDrawer

parent 121c8808
......@@ -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;
......@@ -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 {
)}
</ContainerQuery>
</DocumentTitle>
{this.state.rendering ? null : <SettingDarwer />}
{this.state.rendering ? null : <SettingDrawer />}
</React.Fragment>
);
}
......
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