fix exlint stuff
Some checks failed
Deploy / deploy (push) Failing after 2m20s

This commit is contained in:
Lee 2024-10-02 10:40:10 +01:00
parent c949931621
commit 859df1dea3
2 changed files with 3 additions and 3 deletions

View File

@ -137,9 +137,9 @@ export default function PlayerScores({ initialScoreData, initialSearch, player,
useEffect(() => {
const newUrl = getUrl(pageState.page);
window.history.replaceState({ ...window.history.state, as: newUrl, url: newUrl }, "", newUrl);
}, [pageState, debouncedSearchTerm, player.id, isSearchActive]);
}, [pageState, debouncedSearchTerm, player.id, isSearchActive, getUrl]);
/**
/**k
* Handle scrolling to the top of the
* scores when new scores are loaded.
*/

View File

@ -49,7 +49,7 @@ export default function Settings() {
*/
useEffect(() => {
form.setValue("backgroundCover", settings?.backgroundCover || "");
}, [settings]);
}, [settings, form]);
return (
<div className="flex flex-col gap-3">