From 29ceb15807d951d92ed6c0f6e0f1fd2182c89183 Mon Sep 17 00:00:00 2001 From: Tal Derei <70081547+TalDerei@users.noreply.github.com> Date: Thu, 21 Nov 2024 22:59:30 -0800 Subject: [PATCH] automatically perform swap estimation on user input (#1920) * automatically swap estimation on user input * lint tailwind css * changeset * value view pill --- .changeset/rude-fireants-pump.md | 5 +++++ .../simulate-swap-result/traces/index.tsx | 17 +++++++---------- .../traces/trace/index.tsx | 7 +++++-- .../swap/swap-form/simulate-swap.tsx | 19 ++++++++++++++++++- 4 files changed, 35 insertions(+), 13 deletions(-) create mode 100644 .changeset/rude-fireants-pump.md diff --git a/.changeset/rude-fireants-pump.md b/.changeset/rude-fireants-pump.md new file mode 100644 index 0000000000..ca4f081c5a --- /dev/null +++ b/.changeset/rude-fireants-pump.md @@ -0,0 +1,5 @@ +--- +'minifront': minor +--- + +automatically perform swap estimation on user input diff --git a/apps/minifront/src/components/swap/swap-form/simulate-swap-result/traces/index.tsx b/apps/minifront/src/components/swap/swap-form/simulate-swap-result/traces/index.tsx index bae3cac392..984448b47b 100644 --- a/apps/minifront/src/components/swap/swap-form/simulate-swap-result/traces/index.tsx +++ b/apps/minifront/src/components/swap/swap-form/simulate-swap-result/traces/index.tsx @@ -2,7 +2,7 @@ import { SwapExecution_Trace } from '@penumbra-zone/protobuf/penumbra/core/compo import { Trace } from './trace'; import { Metadata, ValueView } from '@penumbra-zone/protobuf/penumbra/core/asset/v1/asset_pb'; import { ValueViewComponent } from '@penumbra-zone/ui-deprecated/components/ui/value'; -import { ArrowDown, ArrowUp } from 'lucide-react'; +import { ArrowRight } from 'lucide-react'; export const Traces = ({ traces, @@ -29,17 +29,14 @@ export const Traces = ({