feat: updates

This commit is contained in:
qier222 2022-04-02 16:54:37 +08:00
parent 86f088e5c9
commit 3ef7675696
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
12 changed files with 158 additions and 146 deletions

View file

@ -34,7 +34,10 @@ export function fetchTracksWithReactQuery(params: FetchTracksParams) {
return fetchTracks(params)
},
{
retry: 3,
retry: 4,
retryDelay: (retryCount: number) => {
return retryCount * 500
},
staleTime: 86400000,
}
)