You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your Egg component you're rendering two complete copies of the Screen in two branches of an if statement, even though there's only actually a single prop different (as far as I can tell just level is missing). You can conditionally set a prop with a ternary, e.g. level={this.state.name ? this.state.level : null}.
This probably isn't relevant if you made the changes suggested in #7 though
The text was updated successfully, but these errors were encountered:
In your
Egg
component you're rendering two complete copies of theScreen
in two branches of an if statement, even though there's only actually a single prop different (as far as I can tell justlevel
is missing). You can conditionally set a prop with a ternary, e.g.level={this.state.name ? this.state.level : null}
.This probably isn't relevant if you made the changes suggested in #7 though
The text was updated successfully, but these errors were encountered: