fix: clear auction cache after cancellation
This commit is contained in:
1 parent
7c372f0392
commit
c6f5a7077f
2 files changed
+25
-12
No files matched your search
@@ -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,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user