Fix code style

This commit is contained in:
afc163 2017-11-09 20:14:51 +08:00
parent 0eca38ba2f
commit ea185fe288

View File

@ -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),
});
},
},