From 101c1b901f9932dc065fe866720cb8e208392261 Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Sat, 13 Jun 2026 16:53:36 +0200 Subject: [PATCH] fix(marketplace): re-priced offer vanished when the server kept the same id The "price raised" (case 3) handler did `set(item.offerId, item)` then an unconditional `delete(requestedOfferId)`. When the re-priced offer kept the same id (offerId === requestedOfferId), the set was immediately undone and the offer disappeared from the list though it was still buyable. Delete the old key first, then set under the new id. --- .../CatalogLayoutMarketplacePublicItemsView.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx index 459f2ce..a60bf3d 100644 --- a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx +++ b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx @@ -115,13 +115,18 @@ export const CatalogLayoutMarketplacePublicItemsView: FC