add extra price

This commit is contained in:
2025-11-10 16:19:57 +03:00
parent db75925e7a
commit 7df267af5a
5 changed files with 22 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ import { useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
import { useAppDispatch, useAppSelector } from "redux/hooks";
import { colors, ProBlack2 } from "ThemeConstants";
import { Product, Variant } from "utils/types/appTypes";
import { Product, Variant, Extra as ExtraType } from "utils/types/appTypes";
import styles from "../product.module.css";
export default function ProductFooter({
@@ -22,7 +22,7 @@ export default function ProductFooter({
product: Product;
isValid?: boolean;
selectedVariant?: Variant;
selectedExtras: string[];
selectedExtras: ExtraType[];
selectedGroups: string[];
quantity: number;
onClose?: () => void;