Skip to content

Instantly share code, notes, and snippets.

@basilesimon
Created July 18, 2018 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basilesimon/eb4e6fc7bd2a9eaa169261cd7da625e9 to your computer and use it in GitHub Desktop.
Save basilesimon/eb4e6fc7bd2a9eaa169261cd7da625e9 to your computer and use it in GitHub Desktop.
{xScale &&
!this.state.guess &&
<Slider xScale={this.state.xScale} handleGuess={this.handleGuess} />
}
{this.state.guess &&
&& this.state.allPredictionsFromBackend
<Chart xScale={this.state.xScale}
predictions={allPredictionsFromBackend} />
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment