From 45e89263abe97328e1bd872532b70e8e98dfabfb Mon Sep 17 00:00:00 2001 From: samsiegart Date: Mon, 20 May 2024 11:06:05 -0700 Subject: [PATCH] fix: disable invitation swaps --- ui/src/components/swap/AmountSelectorDialog.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/swap/AmountSelectorDialog.tsx b/ui/src/components/swap/AmountSelectorDialog.tsx index d5a85155..fa349055 100644 --- a/ui/src/components/swap/AmountSelectorDialog.tsx +++ b/ui/src/components/swap/AmountSelectorDialog.tsx @@ -147,7 +147,8 @@ const isPurseEmpty = (purse: PurseJSONState) => { return value === 0n; } if (assetKind === 'set') { - return value.length === 0; + // UNTIL: https://github.com/Agoric/agoric-sdk/issues/9378 + return true; } if (assetKind === 'copyBag') { return value.payload.length === 0;