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 1e3a9c7 commit 179a33cCopy full SHA for 179a33c
1 file changed
src/pages/MainPage/index.jsx
@@ -24,7 +24,7 @@ const MainPage = () => {
24
}).then((res) => res.data);
25
setPosts(nextPosts);
26
setMax(nextPosts[0].channel.posts.length);
27
- setOffset(prevPostIndex ? prevPostIndex : 5);
+ setOffset(prevPostIndex ? prevPostIndex : LIMIT);
28
})();
29
}, []);
30
0 commit comments