mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Fix code style
This commit is contained in:
parent
0eca38ba2f
commit
ea185fe288
@ -45,12 +45,12 @@ class BasicLayout extends React.Component<BasicProps, any> {
|
||||
siderHook: {
|
||||
addSider: (id: string) => {
|
||||
this.setState({
|
||||
siders: [...this.state.siders, id ],
|
||||
siders: [...this.state.siders, id],
|
||||
});
|
||||
},
|
||||
removeSider: (id: string) => {
|
||||
this.setState({
|
||||
siders: this.state.siders.filter(currentId => currentId !== id ),
|
||||
siders: this.state.siders.filter(currentId => currentId !== id),
|
||||
});
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user