Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid #35

Open
Overload119 opened this issue Sep 13, 2015 · 0 comments
Open

Invalid #35

Overload119 opened this issue Sep 13, 2015 · 0 comments

Comments

@Overload119
Copy link

    `<Tabs className={'padding-all'}>
      {this.renderWallPanel()}
      {this.props.rapCount > 0 ? this.renderRapPanel() : null}
      {this.props.beatCount > 0 ? this.renderBeatPanel() : null}
      {this.props.battleCount > 0 ? this.renderBattlePanel() : null}
    </Tabs>`

If the first check fails, RapPanel won't be rendered, but it's index will be set still.
This makes the BeatPanel break and not show.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant