Skip to content

Commit 6c4d80b

Browse files
committed
Do not try to look for updates immediately
We just rendered the list, it doesn't make sense. It's ok to first check in 3 minutes.
1 parent bfdefa0 commit 6c4d80b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

app/javascript/controllers/new_topics_banner_controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export default class extends Controller {
1515
}
1616

1717
startPolling() {
18-
this.fetchBanner()
1918
this.poller = setInterval(() => this.fetchBanner(), this.intervalMsValue)
2019
}
2120

0 commit comments

Comments
 (0)