joshcarr/react-structured-filter

if ( this.props.operatorSigns [ assignValue ]) {

Closed this issue · 1 comments

ozluy commented

Cannot read property
Giving above error with following line, any idea?
> 447 | if ( this.props.operatorSigns [ assignValue ]) {

ozluy commented

if ( this.props.operatorSigns && this.props.operatorSigns [ assignValue ]) {

fixed with null check