Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmi committed Nov 21, 2021
1 parent f182eb4 commit d1539ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/board/PanZoomRotate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const PanZoomRotate = ({ children, moveFirst }) => {
});
}, [scale, setDim]);

// Center board on game loading
// Center board on board loading
React.useEffect(() => {
const {
width: innerWidth,
Expand Down
2 changes: 1 addition & 1 deletion src/board/Selector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Selector = ({ children, moveFirst }) => {

const config = useRecoilValue(BoardConfigAtom);

// Reset selection on game loading
// Reset selection on board loading
React.useEffect(() => {
setSelected(emptySelection);
}, [config, emptySelection, setSelected]);
Expand Down

0 comments on commit d1539ac

Please sign in to comment.