Explorar o código

change function name

afc163 %!s(int64=7) %!d(string=hai) anos
pai
achega
9de7523d15
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/components/SettingDrawer/index.js

+ 2 - 2
src/components/SettingDrawer/index.js

@@ -26,7 +26,7 @@ class SettingDrawer extends PureComponent {
     collapse: false,
   };
 
-  getLayOutSetting = () => {
+  getLayoutSetting = () => {
     const {
       setting: { contentWidth, fixedHeader, layout, autoHideHeader, fixSiderbar },
     } = this.props;
@@ -182,7 +182,7 @@ class SettingDrawer extends PureComponent {
 
           <List
             split={false}
-            dataSource={this.getLayOutSetting()}
+            dataSource={this.getLayoutSetting()}
             renderItem={item => <List.Item actions={item.action}>{item.title}</List.Item>}
           />