import { Badge, Button } from "antd"; import CartIcon from "components/Icons/cart/CartIcon"; import ProText from "components/ProText"; import { selectCartItems } from "features/order/orderSlice"; import useBreakPoint from "hooks/useBreakPoint"; import { useTranslation } from "react-i18next"; import { Link, useParams } from "react-router-dom"; import { useAppSelector } from "redux/hooks"; import { colors, ProBlack2 } from "ThemeConstants"; export function MenuFooter() { const items = useAppSelector(selectCartItems); const { themeName } = useAppSelector((state) => state.theme); const { isMobile, isTablet } = useBreakPoint(); const { t } = useTranslation(); const { subdomain } = useParams(); const totalItems = items.length; return ( <> {(isMobile || isTablet) && (
)} ); }