eslint: object-curly-spacing/array-bracket-spacing

This commit is contained in:
hensm
2021-04-26 06:21:31 +01:00
parent d478742c4b
commit f0ac7ddc2d
8 changed files with 20 additions and 11 deletions

View File

@@ -106,7 +106,7 @@ export default class EditableList extends Component<
const newItems = new Set(this.props.data);
newItems.delete(item);
this.props.onChange([...newItems]);
this.props.onChange([ ...newItems ]);
}
private handleItemEdit(item: string, newValue: string) {