Return the created collection from the createCollection action
Instead of returning the dispatched action, actionCreator methods like createCollection
should return the created object.
Instead of returning the dispatched action, actionCreator methods like createCollection
should return the created object.