diff --git a/README.md b/README.md index fd32ce9..ccc3a8a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# FreeChess +# Freechess -Freechess is an open-source chess GUI to store, view and analyze your chess games. +Freechess is an open-source chess GUI to store, view and analyze your chess games with Stockfish for free ! It is built with [Next.js](https://nextjs.org/docs), [React](https://react.dev/learn/describing-the-ui), [Material UI](https://mui.com/material-ui/getting-started/overview/), and [TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html). diff --git a/src/sections/analysis/board/index.tsx b/src/sections/analysis/board/index.tsx index b7cffb4..e93201f 100644 --- a/src/sections/analysis/board/index.tsx +++ b/src/sections/analysis/board/index.tsx @@ -31,7 +31,7 @@ export default function Board() { useEffect(() => { setClickedSquares([]); - }, [boardFen]); + }, [boardFen, setClickedSquares]); const onPieceDrop = ( source: Square,