mozillascience / software-discovery-dashboard

MIT License
19 stars 8 forks source link

Fix add field refresh #106

Closed mok4ry closed 8 years ago

mok4ry commented 8 years ago

Issue #66

Problem is that the SearchField component was using this.props.<function> as onClick events rather than the "wrappers" in this.<function>, resulting in the event object being passed as the first argument to functions in the container, and thus unexpected behavior.

The fix is to use the component's wrapper functions instead, as was initially intended.