implement scheduled order type

This commit is contained in:
2025-10-29 20:41:26 +03:00
parent 144cfa3f3a
commit ab5d0da47e
18 changed files with 219 additions and 82 deletions

View File

@@ -8,7 +8,7 @@ import CartMobileTabletLayout from "pages/cart/components/CartMobileTabletLayout
export default function CartPage() {
const { isDesktop } = useBreakPoint();
const [form] = Form.useForm();
// Prevent keyboard from appearing automatically on mobile
useEffect(() => {
// Blur any focused element when component mounts
@@ -28,7 +28,7 @@ export default function CartPage() {
// Enhanced desktop layout
if (isDesktop) {
return (
<Form form={form}>
<Form form={form} layout="vertical">
<CartDesktopLayout form={form} />
</Form>
);
@@ -36,7 +36,7 @@ export default function CartPage() {
// Mobile/Tablet Layout (existing code)
return (
<Form form={form}>
<Form form={form} layout="vertical">
<CartMobileTabletLayout form={form} />
</Form>
);