diff --git a/generators/app/constants.js b/generators/app/constants.js index 28bc95f6..eb82e79c 100644 --- a/generators/app/constants.js +++ b/generators/app/constants.js @@ -48,9 +48,7 @@ const UTILS_PATH = 'src/utils'; const SERVICES_PATH = 'src/services'; const CONSTANTS_PATH = 'src/constants'; -module.exports.REDUX_COMPONENTS = [ - `${COMPONENTS_PATH}/Field/index.js`, -] +module.exports.REDUX_COMPONENTS = [`${COMPONENTS_PATH}/Field/index.js`]; module.exports.TEMPLATE_FILES = [ 'config-overrides.js', diff --git a/generators/app/tasks/copyTemplateFiles.js b/generators/app/tasks/copyTemplateFiles.js index 2dd05377..28377231 100644 --- a/generators/app/tasks/copyTemplateFiles.js +++ b/generators/app/tasks/copyTemplateFiles.js @@ -1,6 +1,12 @@ const mkdirp = require('mkdirp'); -const { TEMPLATE_FILES, LINTER_PATH, LOCAL_STORAGE_FILE, FLOWCONFIG_PATH, REDUX_COMPONENTS } = require('../constants'); +const { + TEMPLATE_FILES, + LINTER_PATH, + LOCAL_STORAGE_FILE, + FLOWCONFIG_PATH, + REDUX_COMPONENTS +} = require('../constants'); const { copyTpl, copy } = require('./utils'); diff --git a/generators/app/templates/src/app/components/SearchBar/index.js b/generators/app/templates/src/app/components/SearchBar/index.js index ce3de19a..34a850ea 100644 --- a/generators/app/templates/src/app/components/SearchBar/index.js +++ b/generators/app/templates/src/app/components/SearchBar/index.js @@ -1,7 +1,14 @@ import React from 'react'; import PropTypes from 'prop-types'; -function SearchBarContainer({ textButtonSearch, className, formClassName, buttonClassName, handleSubmit, children }) { +function SearchBarContainer({ + textButtonSearch, + className, + formClassName, + buttonClassName, + handleSubmit, + children +}) { return (