import { colors } from "ThemeConstants.ts"; import { Link, useParams } from "react-router-dom"; import { Button } from "antd"; import { useAppSelector } from "redux/hooks.ts"; import useBreakPoint from "hooks/useBreakPoint.ts"; import { useTranslation } from "react-i18next"; import { selectCart } from "features/order/orderSlice.ts"; import styles from "./footer.module.css"; export default function CartFooter() { const { t } = useTranslation(); const { items } = useAppSelector(selectCart); const { id } = useParams(); const { isMobile, isTablet } = useBreakPoint(); const orderType = localStorage.getItem("orderType"); return (
); }