implement scheduled order type
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user