We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67b301 commit 4c7c501Copy full SHA for 4c7c501
src/js/app.js
@@ -44,7 +44,7 @@ const updateFeeds = (watcherState) => {
44
if (newPosts.length > 0) watcherState.content.posts.unshift(...newPosts);
45
}));
46
Promise.allSettled(promises)
47
- .then(setTimeout(updateFeeds, 5000, watcherState));
+ .then(() => setTimeout(updateFeeds, 5000, watcherState));
48
};
49
50
const findPostById = (posts, id) => posts.find((post) => post.postId === id);
0 commit comments