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:
@@ -45,7 +45,7 @@ function Starred() {
|
||||
|
||||
React.useEffect(() => {
|
||||
fetchResults();
|
||||
}, [fetchResults]);
|
||||
}, []);
|
||||
|
||||
const handleShowMore = async () => {
|
||||
await fetchResults(displayedStarsCount);
|
||||
|
||||
Reference in New Issue
Block a user