fix build warnings
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m2s

Took 3 minutes
This commit is contained in:
Braydon 2024-10-07 13:01:15 -04:00
parent de76a38096
commit 3305ea065c
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ const QuickSearchDialog = ({
};
document.addEventListener("keydown", handleKeyDown);
return () => document.removeEventListener("keydown", handleKeyDown);
}, []);
}, [bindKeybind]);
// Render the contents
return (

View File

@ -70,7 +70,7 @@ export function GridPattern({
if (dimensions.width && dimensions.height) {
setSquares(generateSquares(numSquares));
}
}, [dimensions, numSquares]);
}, [dimensions, numSquares, generateSquares]);
// Resize observer to update container dimensions
useEffect(() => {