X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=tictactoe%2Ftictactoe.jsx;h=934faa8e0cc63e37adc530c22beea642f7782fb7;hp=654d55ee17c45da10c83ab4ecf1b4ed276b719e7;hb=d1b224fb4410e5ae5a06a5a8edc707524f1c2b73;hpb=9d201384db591cc94d872c4046a2bc67d1c57133 diff --git a/tictactoe/tictactoe.jsx b/tictactoe/tictactoe.jsx index 654d55e..934faa8 100644 --- a/tictactoe/tictactoe.jsx +++ b/tictactoe/tictactoe.jsx @@ -137,17 +137,6 @@ class Game extends React.Component { const current = history[this.state.stepNumber]; const winner = calculateWinner(current.squares); - const moves = history.map((step, move) => { - const desc = move ? - 'Go to move #' + move : - 'Go to game start'; - return ( -
  • - -
  • - ); - }); - let status; if (winner) { status = "Winner: " + winner; @@ -165,7 +154,6 @@ class Game extends React.Component {
    {status}
    -
      {moves}
    );