We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cc0687 commit fec3043Copy full SHA for fec3043
services/app/src/components/chessBoard/Tile.jsx
@@ -16,7 +16,7 @@ const Tile = ({
16
17
/* eslint-disable-next-line */
18
const _onClick = useCallback(() => {
19
- if (!attribute) {
+ if (!attribute && (row !== 6 && column !== 0)) {
20
onClick(row, column);
21
}
22
}, [onClick, row, column]);
0 commit comments