Fix poll latest loop (#1901)

* Avoid pollLatest loop

* Set poll interval on profile feeds
This commit is contained in:
Paul Frazee
2023-11-14 10:33:05 -08:00
committed by GitHub
parent 3fde1bea1b
commit c687172de9
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -350,6 +350,7 @@ const FeedSection = React.forwardRef<SectionRef, FeedSectionProps>(
<Feed
testID="postsFeed"
feed={feed}
pollInterval={30e3}
scrollElRef={scrollElRef}
onHasNew={setHasNew}
onScroll={onScroll}