.
This commit is contained in:
1 parent
2379051196
commit
4baea89f89
6 files changed
+9834
-48
No files matched your search
@@ -118,6 +118,7 @@ export function useMatch(matchId: string | undefined, communityId = DEFAULT_COMM
|
||||
export function useAuction(
|
||||
matchId: string | undefined,
|
||||
communityId = DEFAULT_COMMUNITY_ID,
|
||||
options: { refetchInterval?: number | false } = {},
|
||||
) {
|
||||
return useQuery({
|
||||
queryKey: ['auction', communityId, matchId ?? null],
|
||||
@@ -128,6 +129,7 @@ export function useAuction(
|
||||
),
|
||||
enabled: Boolean(communityId && matchId),
|
||||
retry: false,
|
||||
refetchInterval: options.refetchInterval,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user