diff --git a/src/Cell.js b/src/Cell.js index 90bf733..85e1df9 100644 --- a/src/Cell.js +++ b/src/Cell.js @@ -22,22 +22,15 @@ export default function Cell({x, y, state, dispatch}) { dispatch({ type: 'clicked_cell', x, - y, - e + y }); } }} - onMouseLeave={(e) => { - const leftPressed = e.buttons & 0x1; - if (leftPressed) { - } - }} onClick={(e) => { dispatch({ type: 'clicked_cell', x, - y, - e + y }); }}>