This is a minor fix for the new typeahead functionality. In 0.5.3, when :result-fn isn't defined otherwise, react will choke with Invariant Violation: cljs$core$identity.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.
This is a minor fix for the new typeahead functionality. In 0.5.3, when
:result-fn
isn't defined otherwise, react will choke withInvariant Violation: cljs$core$identity.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.