-
-
Couldn't load subscription status.
- Fork 200
Open
Description
Hello Guys! I noticed that you check the props.visible by the presence of it in props.
Why not check for undefined?
Line 72 in b5e43fd
| if ('visible' in this.props) { |
We use a rule eslint - react/require-default-props. And set props.visible as undefined in the defaultProps. And if the props.visible is equal to undefined, then he still gets to extraProps.popupVisible.
jabacchetta
Metadata
Metadata
Assignees
Labels
No labels