From 2448cc6160647d5ecaf88f7bf3754993a322d180 Mon Sep 17 00:00:00 2001 From: haraldox Date: Tue, 6 Feb 2018 13:58:33 +0100 Subject: fix linting errors --- src/components/auth/Import.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/components/auth/Import.js') diff --git a/src/components/auth/Import.js b/src/components/auth/Import.js index 7de571896..6bfd2d70f 100644 --- a/src/components/auth/Import.js +++ b/src/components/auth/Import.js @@ -41,20 +41,20 @@ export default class Import extends Component { intl: intlShape, }; - config = { - fields: { - import: [...this.props.services.filter(s => s.recipe).map(s => ({ - fields: { - add: { - default: true, - options: s, - }, + config = { + fields: { + import: [...this.props.services.filter(s => s.recipe).map(s => ({ + fields: { + add: { + default: true, + options: s, }, - }))], - }, - }; + }, + }))], + }, + }; - form = new Form(this.config, this.context.intl); + form = new Form(this.config, this.context.intl); submit(e) { const { services } = this.props; -- cgit v1.2.3-70-g09d2