0

Hi I have an a button which should call a function, but when I click on the button nothing seems to happens. I have tried creating 2 desperate buttons to see if functions work individually, which they do. Although do not understand why nothing is happening with the code below

          handlePlayAgainClick () {
            dispatch(playAgain())
            goBack('BScreen')
          }
          render() {..
        const { goBack } = this.props.navigation;
      <PlayAgainButtons onPress={ () => this.handlePlayAgainClick}>
Chris Henry
  • 199
  • 1
  • 1
  • 13

0 Answers0