function handleRestart(gameState, turn) {
    funcSetBoard(gameState)
    funcSetTurn(turn)
    funcSetMessage()
    setEnd(false)
  }
//Handle the restart event from the back end

Handle the restart event from the back end
Handle the restart event from the back end
function handleRestart(gameState, turn) {
    funcSetBoard(gameState)
    funcSetTurn(turn)
    funcSetMessage()
    setEnd(false)
  }
function handleRestart ( gameState , turn ) { funcSetBoard ( gameState ) funcSetTurn ( turn ) funcSetMessage ( ) setEnd ( false ) }
Handle the restart event from the back end
Handle the restart event from the back end