Instead of merging changes I make to a state object, React is overwriting it completely. Could this be caused by the context?
I\'m not sure if I can pass a dispatch e