mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Set consistent random carousel items when paging
- Set stale/cache time to 1 minute
This commit is contained in:
@@ -40,9 +40,9 @@ const HomeRoute = () => {
|
||||
startIndex: pagination.random * itemsPerPage,
|
||||
},
|
||||
{
|
||||
cacheTime: 0,
|
||||
cacheTime: 1000 * 60,
|
||||
keepPreviousData: true,
|
||||
staleTime: 0,
|
||||
staleTime: 1000 * 60,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user