Skip to content

Commit

Permalink
maths
Browse files Browse the repository at this point in the history
  • Loading branch information
SH20RAJ authored Mar 20, 2024
1 parent 0fb3041 commit e14fcb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/[slug]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function ArticlesPage({ params }) {
setIsLoading(true);
try {
const response = await fetch(
`https://dev.to/api/articles?username=${params.slug}&per_page=100&page=${page}`
`https://dev.to/api/articles?username=${params.slug}&per_page=100&page=${page}&random=${Math.random()}`
);
const data = await response.json();
setArticles((prevArticles) => [...prevArticles, ...data]);
Expand Down

0 comments on commit e14fcb4

Please sign in to comment.