// import { useSelector } from "react-redux"; // import { selectors } from "@/store"; import clsx from "clsx"; import { Typography } from "@/components/ui"; import { getFormattedPrice } from "@/shared/utils/price"; import { Currency } from "@/types"; import styles from "./Offer.module.scss"; import { CheckMark } from ".."; interface OfferProps { title?: string | React.ReactNode; description?: string; oldPrice?: number | string; newPrice?: number | string; active?: boolean; image?: React.ReactNode; className?: string; classNameTitle?: string; onClick?: () => void; } function Offer({ title, description, oldPrice, newPrice, active = false, onClick, image, className = "", classNameTitle = "" }: OfferProps) { // const currency = useSelector(selectors.selectCurrency); const currency = Currency.USD; return (