Closed donjerick closed 6 years ago
Getting TypeError: In this environment the sources for assign MUST be an object.This error is a performance optimization and not spec compliant.
TypeError: In this environment the sources for assign MUST be an object.This error is a performance optimization and not spec compliant
Reason:
style={{ padding: 2, margin: 2, borderColor: 'gray', borderWidth: 1, width: 30, height: 30, textAlign: 'center', ...this.props.pinItemStyle }}
Suggested change in index.php :
style={ StyleSheet.flatten([ {padding: 2, margin: 2, borderColor: 'gray', borderWidth: 1, width: 30, height: 30, textAlign: 'center'} , this.props.pinItemStyle ])}
@donjerick Thanks!
Getting
TypeError: In this environment the sources for assign MUST be an object.This error is a performance optimization and not spec compliant
.Reason:
Suggested change in index.php :