fix: clear auction cache after cancellation

This commit is contained in:
dahyeon committed 2026-06-23 03:43:12 -07:00
1 parent 7c372f0392
commit c6f5a7077f
2 files changed
+25 -12

No files matched your search

+2 -1
View File
@@ -2752,7 +2752,8 @@ export default function MatchDetailPage() {
meQuery.isLoading || (meQuery.isFetching && !meQuery.data);
const auctionNotStarted =
auctionQuery.error instanceof ApiError && auctionQuery.error.status === 404;
const showAuctionLink = Boolean(auctionQuery.data);
const activeAuction = auctionNotStarted ? null : auctionQuery.data;
const showAuctionLink = Boolean(activeAuction);
const auctionParticipantPool = buildAuctionParticipantPool(
matchQuery.data.participants,
);