wagerModal() {
    this.setState(st =>({
      modalContent: {
        ...st.modalContent,
        header: 'Time to Ante Up!',
        message: <Wager wager={this.wager} gold={this.state.coins.halflingLoot}/>,
        btnText: 'Cancel',
        close: this.toggleModal,
      }
    }));
    this.toggleModal();
    return this.state.modalContent.btnText;
  }
/** Sets state to display wager modal information */
Sets state to display wager modal information
Sets state to display wager modal information
wagerModal() {
    this.setState(st =>({
      modalContent: {
        ...st.modalContent,
        header: 'Time to Ante Up!',
        message: <Wager wager={this.wager} gold={this.state.coins.halflingLoot}/>,
        btnText: 'Cancel',
        close: this.toggleModal,
      }
    }));
    this.toggleModal();
    return this.state.modalContent.btnText;
  }
wagerModal ( ) { this . setState ( st => ( { modalContent : { ... st . modalContent , header : 'Time to Ante Up!' , message : < Wager wager = { this . wager } gold = { this . state . coins . halflingLoot } / > , btnText : 'Cancel' , close : this . toggleModal , } } ) ) ; this . toggleModal ( ) ; return this . state . modalContent . btnText ; }
Sets state to display wager modal information
Sets state to display wager modal information