Adding Prettier and fixing up eslint version
[sdc.git] / openecomp-ui / src / sdc-app / onboarding / softwareProduct / FinalizedSoftwareProductReducer.js
index 396f65f..f91c8f3 100644 (file)
  * or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
-import {actionTypes} from './SoftwareProductConstants.js';
+import { actionTypes } from './SoftwareProductConstants.js';
 
 export default (state = [], action) => {
-       switch (action.type) {
-               case actionTypes.FINALIZED_SOFTWARE_PRODUCT_LIST_LOADED:
-                       return [...action.response.results];
-               default:
-                       return state;
-       }
+    switch (action.type) {
+        case actionTypes.FINALIZED_SOFTWARE_PRODUCT_LIST_LOADED:
+            return [...action.response.results];
+        default:
+            return state;
+    }
 };