Not put flag when the game ends

This commit is contained in:
2020-11-07 20:50:07 -03:00
parent a608e90f7a
commit 77c892af50

View File

@@ -101,7 +101,7 @@ function App() {
const handleCellContextMenu = (event, row, col) => {
event.preventDefault();
if (activeGame.win === true) {
if (activeGame.status === 3) {
return;
}