Skip to content

Commit

Permalink
hotfix - add correct limit to load more than 10 articles
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido committed Feb 8, 2024
1 parent 9007625 commit 2b4f7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Articles.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Articles = ({
queryKey: ['/api/articles'],
queryFn: () =>
axios
.get('/api/articles', {
.get('/api/articles?limit=500', {
timeout: 10000,
onDownloadProgress: (e) => setLoadingProgressFromEvent(e, 'articles', 0.5, 0.5),
})
Expand Down

0 comments on commit 2b4f7f1

Please sign in to comment.