Skip to content

Commit 7b79a8a

Browse files
committed
adding staletime to blog query
1 parent cd1b32f commit 7b79a8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

reactjsfoundations.com/src/WpBlogWidget.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ function ReactBlog(props) {
3333
},
3434
{
3535
staleTime: 1000,
36-
},
37-
[page]
36+
}
3837
);
3938

4039
const handlePrevPage = () => {

0 commit comments

Comments
 (0)