From cf0506e662db97e04a6d3dae6831f740e2bae8ab Mon Sep 17 00:00:00 2001 From: Max Korsunov Date: Tue, 25 Jun 2024 15:25:28 +0200 Subject: [PATCH] fix: one-way-swap --- .../ui/components/ui/tx/actions-views/swap/one-way-swap.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/components/ui/tx/actions-views/swap/one-way-swap.tsx b/packages/ui/components/ui/tx/actions-views/swap/one-way-swap.tsx index 8eb56234..1b48a229 100644 --- a/packages/ui/components/ui/tx/actions-views/swap/one-way-swap.tsx +++ b/packages/ui/components/ui/tx/actions-views/swap/one-way-swap.tsx @@ -1,7 +1,7 @@ import { ValueViewComponent } from '../../../value'; import { ArrowRight } from 'lucide-react'; import { ValueView } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/asset/v1/asset_pb'; -import { getAmount, getSymbolFromValueView } from '@penumbra-zone/getters/value-view'; +import { getAmount } from '@penumbra-zone/getters/value-view'; /** * Renders a one-way swap (which should be the only kind of swap that ever @@ -18,7 +18,7 @@ export const OneWaySwap = ({ input, output }: { input: ValueView; output: ValueV - {outputAmount ? : getSymbolFromValueView(output)} + ); };