From 86c12e2c53d59153756f1204221c87d7672a3f15 Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Fri, 26 Dec 2025 00:00:29 +0300 Subject: [PATCH] enhnace styles --- src/components/CustomBottomSheet/OrderTypesBottomSheet.tsx | 1 - src/features/order/orderSlice.ts | 2 ++ src/pages/checkout/components/CustomerInformationCard.tsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/CustomBottomSheet/OrderTypesBottomSheet.tsx b/src/components/CustomBottomSheet/OrderTypesBottomSheet.tsx index 681911a..fc8ace9 100644 --- a/src/components/CustomBottomSheet/OrderTypesBottomSheet.tsx +++ b/src/components/CustomBottomSheet/OrderTypesBottomSheet.tsx @@ -42,7 +42,6 @@ export function OrderTypesBottomSheet({ isOpen={isOpen} onClose={onClose} title={t("menu.orderTypes")} - showCloseButton={false} initialSnap={1} height={calculatedHeight} snapPoints={[calculatedHeight.toString()]} diff --git a/src/features/order/orderSlice.ts b/src/features/order/orderSlice.ts index 8aa14da..6eb22cb 100644 --- a/src/features/order/orderSlice.ts +++ b/src/features/order/orderSlice.ts @@ -216,6 +216,8 @@ const orderSlice = createSlice({ action.payload.gift, action.payload.toRoom, action.payload.toOffice, + action.payload.is_schedule_order_enabled, + action.payload.is_booking_enabled, ].filter(Boolean).length; state.hiddenServices = state.totalServices - state.visibleServices; if (typeof window !== "undefined") { diff --git a/src/pages/checkout/components/CustomerInformationCard.tsx b/src/pages/checkout/components/CustomerInformationCard.tsx index 70331d3..50473da 100644 --- a/src/pages/checkout/components/CustomerInformationCard.tsx +++ b/src/pages/checkout/components/CustomerInformationCard.tsx @@ -34,7 +34,7 @@ export default function CustomerInformationCard() { /> -
+