orders: clean code
This commit is contained in:
@@ -18,7 +18,7 @@ import ProductFooter from "./components/ProductFooter";
|
||||
import Variants from "./components/Variants";
|
||||
import styles from "./product.module.css";
|
||||
|
||||
export default function ProductDetailPage({ onClose }: { onClose: () => void }) {
|
||||
export default function ProductDetailPage({ onClose }: { onClose?: () => void }) {
|
||||
const { isRTL } = useAppSelector((state) => state.locale);
|
||||
const { isDesktop } = useBreakPoint();
|
||||
const [quantity, setQuantity] = useState(1);
|
||||
|
||||
Reference in New Issue
Block a user