Closed dimitropoulos closed 5 years ago
thanks @rndstr - I'll hopefully be setting up my environment for javascript dev soon enough but you saved me from having to do it now :)
ping @dimitropoulos - anything still blocking you from merging this?
no - merging now.
The above UI bug can happen in a situation where the label passed in is an object since objects are truthy in javascript. Ideally, Flow should catch this kind of problem but since it doesn't (from what I can tell the type gets lost as it goes through the
lodash/find
on line 200), a type check here will work for now.