[x] Fix issue #333 - Error when trying to track e-commerce items in GA following documentation
What was done
I have changed functions ecommSend and ecommClear to return type EventDefinition. We don't need any information about action, prevState and nextState to send e-commerce data to GA, so I did not add any additional function parameter to ecommSend and ecommClear like in other helpers.
Checklist
[x] Fix issue #333 - Error when trying to track e-commerce items in GA following documentation
What was done
I have changed functions
ecommSend
andecommClear
to return type EventDefinition. We don't need any information about action, prevState and nextState to send e-commerce data to GA, so I did not add any additional function parameter toecommSend
andecommClear
like in other helpers.Associated Issues
333