From 98736682d0681e8338eddfdb61ea5e66ee6b4d70 Mon Sep 17 00:00:00 2001 From: Jesse Pinho Date: Fri, 17 May 2024 10:57:53 -0700 Subject: [PATCH] Add current reserves to the dutch auction --- .../ui/dutch-auction-component/index.tsx | 7 +++ .../ui/dutch-auction-component/reserves.tsx | 43 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 packages/ui/components/ui/dutch-auction-component/reserves.tsx diff --git a/packages/ui/components/ui/dutch-auction-component/index.tsx b/packages/ui/components/ui/dutch-auction-component/index.tsx index 4a199ba339..2b08f6342c 100644 --- a/packages/ui/components/ui/dutch-auction-component/index.tsx +++ b/packages/ui/components/ui/dutch-auction-component/index.tsx @@ -8,6 +8,7 @@ import { Amount } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/nu import { Button } from '../button'; import { ArrowRight } from 'lucide-react'; import { PriceGraph } from './price-graph'; +import { Reserves } from './reserves'; const getValueView = (amount?: Amount, metadata?: Metadata) => new ValueView({ @@ -82,6 +83,12 @@ export const DutchAuctionComponent = ({ fullSyncHeight={fullSyncHeight} /> + + {buttonType === 'withdraw' && (