From e7722dfcd9f7775fc4a17c6640533476f1906cc0 Mon Sep 17 00:00:00 2001 From: sehyunc <41171808+sehyunc@users.noreply.github.com> Date: Fri, 25 Oct 2024 16:02:38 -0700 Subject: [PATCH] mobile compatible --- .../desktop/new-order-stepper.tsx | 19 ++----------------- .../order-stepper/desktop/steps/default.tsx | 4 ---- .../dialogs/order-stepper/ioi-section.tsx | 8 ++++++++ .../order-stepper/mobile/steps/confirm.tsx | 15 ++++++++++++--- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/components/dialogs/order-stepper/desktop/new-order-stepper.tsx b/components/dialogs/order-stepper/desktop/new-order-stepper.tsx index 8094830e..e9f28194 100644 --- a/components/dialogs/order-stepper/desktop/new-order-stepper.tsx +++ b/components/dialogs/order-stepper/desktop/new-order-stepper.tsx @@ -7,14 +7,7 @@ import { NewOrderFormProps } from "@/app/trade/[base]/components/new-order/new-o import { DefaultStep } from "@/components/dialogs/order-stepper/desktop/steps/default" import { SuccessStepWithoutSavings } from "@/components/dialogs/order-stepper/desktop/steps/success-without-savings" import { IOISection } from "@/components/dialogs/order-stepper/ioi-section" -import { - Dialog, - DialogContent, - DialogDescription, - DialogHeader, - DialogTitle, - DialogTrigger, -} from "@/components/ui/dialog" +import { Dialog, DialogContent, DialogTrigger } from "@/components/ui/dialog" import { cn } from "@/lib/utils" @@ -64,15 +57,7 @@ export function NewOrderStepperInner({ }, )} > - - - Indications of Interest - - - Optionally reveal order details for faster fills - - -
+
*/} -
-
Indications of Interest
-
-
diff --git a/components/dialogs/order-stepper/ioi-section.tsx b/components/dialogs/order-stepper/ioi-section.tsx index f139781f..dc44f0c1 100644 --- a/components/dialogs/order-stepper/ioi-section.tsx +++ b/components/dialogs/order-stepper/ioi-section.tsx @@ -11,6 +11,14 @@ export function IOISection( ) { return ( <> +
+
+ Indications of Interest +
+
+ Optionally reveal order details for faster fills +
+
- + Review Order -
+
+
+ +