This commit is contained in:
dahyeon committed 2026-05-02 03:27:19 -07:00
1 parent 2379051196
commit 4baea89f89
6 files changed
+9834 -48

No files matched your search

+2
View File
@@ -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,
});
}