Skip to content

Commit 8e1b63b

Browse files
committed
fix load more issue
1 parent b4c08cf commit 8e1b63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/community/components/Contributors.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const Contributors: React.FC = () => {
134134
observer.unobserve(observerRef.current);
135135
}
136136
};
137-
}, [contributors, hasMore]);
137+
}, [contributors, hasMore, selectedContributor]);
138138

139139
if (error) {
140140
return <div>Error: {error}</div>;

0 commit comments

Comments
 (0)