From 77c892af50faada994c4561422db91bb59796409 Mon Sep 17 00:00:00 2001 From: Michel Wilhelm Date: Sat, 7 Nov 2020 20:50:07 -0300 Subject: [PATCH] Not put flag when the game ends --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 4509176..2d0e721 100644 --- a/src/App.js +++ b/src/App.js @@ -101,7 +101,7 @@ function App() { const handleCellContextMenu = (event, row, col) => { event.preventDefault(); - if (activeGame.win === true) { + if (activeGame.status === 3) { return; }