Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
micksumm committed Jun 24, 2021
1 parent 7ad3630 commit aebfe75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const App = () => {
return squares[2][0].value;
}

// Diagnols
// Diagonals
if (squares[0][0].value === squares[1][1].value && squares[1][1].value === squares[2][2].value && squares[0][0].value !== '') {
return squares[0][0].value;
}
Expand Down

0 comments on commit aebfe75

Please sign in to comment.