cart: adjust layout
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { colors } from "ThemeConstants.ts";
|
||||
import { Button, FormInstance, message } from "antd";
|
||||
import { Button, FormInstance, message, Layout } from "antd";
|
||||
import { selectCart } from "features/order/orderSlice.ts";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Link, useNavigate, useParams } from "react-router-dom";
|
||||
@@ -30,7 +30,7 @@ export default function CartFooter({ form }: CartFooterProps) {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles.cartFooter}>
|
||||
<Layout.Footer className={styles.cartFooter}>
|
||||
<Link
|
||||
to={`/${subdomain}/menu?${orderType ? `orderType=${orderType}` : ""}`}
|
||||
style={{
|
||||
@@ -64,6 +64,6 @@ export default function CartFooter({ form }: CartFooterProps) {
|
||||
>
|
||||
{t("cart.checkout")}
|
||||
</Button>
|
||||
</div>
|
||||
</Layout.Footer>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user