fix: Unstable t method causing stars.list to fetch run multiple times. Seems this behavior changed in the recent dep bump

This commit is contained in:
Tom Moor
2023-01-04 20:42:48 -05:00
parent f4461573de
commit fc6bb3caef
3 changed files with 6 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ function Starred() {
React.useEffect(() => {
fetchResults();
}, [fetchResults]);
}, []);
const handleShowMore = async () => {
await fetchResults(displayedStarsCount);