Skip to content
Snippets Groups Projects
Unverified Commit 0a30734d authored by Tomasz Knapik's avatar Tomasz Knapik
Browse files

Use object spread operator instead of Object.assign

parent be69293d
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ export default store => next => action => {
}
const actionWith = data => {
const finalAction = Object.assign({}, action, data)
const finalAction = {...action, ...data}
delete finalAction[CALL_API]
return finalAction
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment