mirror of https://github.com/buster-so/buster.git
silence get user errors
This commit is contained in:
parent
6df723d13f
commit
6af95948db
|
@ -25,6 +25,7 @@ const favoritesGetList = queryOptions<UserFavoriteResponse>({
|
|||
const userGetUserMyself = queryOptions<UserResponse | null>({
|
||||
queryKey: ['myself'] as const,
|
||||
staleTime: 1000 * 60 * 20, // 20 minutes
|
||||
retry: () => false, //used to silence the retry error
|
||||
});
|
||||
|
||||
const userGetUser = (userId: string) =>
|
||||
|
|
Loading…
Reference in New Issue