mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
Set consistent random carousel items when paging
- Set stale/cache time to 1 minute
This commit is contained in:
parent
6d037e4760
commit
58d557e4e8
1 changed files with 2 additions and 2 deletions
|
|
@ -40,9 +40,9 @@ const HomeRoute = () => {
|
|||
startIndex: pagination.random * itemsPerPage,
|
||||
},
|
||||
{
|
||||
cacheTime: 0,
|
||||
cacheTime: 1000 * 60,
|
||||
keepPreviousData: true,
|
||||
staleTime: 0,
|
||||
staleTime: 1000 * 60,
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue