I have this array in my store:
transactions:[]
I\'m trying to spread it and add new object to it like this,
case actionTypes.