From db5533bcef300d4da08e241b3a032bc562ae56f8 Mon Sep 17 00:00:00 2001 From: Pooria Setayesh Date: Sat, 25 May 2024 13:59:40 +0330 Subject: [PATCH] chore: increase width of cart controller in mobile view --- .../products/[...params]/components/BuyBox.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/[locale]/(main)/(container)/products/[...params]/components/BuyBox.tsx b/src/app/[locale]/(main)/(container)/products/[...params]/components/BuyBox.tsx index d19e4a7..0f733f1 100644 --- a/src/app/[locale]/(main)/(container)/products/[...params]/components/BuyBox.tsx +++ b/src/app/[locale]/(main)/(container)/products/[...params]/components/BuyBox.tsx @@ -31,9 +31,9 @@ import ListItemText from '@mui/material/ListItemText'; import { useTranslations } from 'next-intl'; import { useParams } from 'next/navigation'; import { FC, useMemo } from 'react'; -import DiscountPercentage from '../../../../../../../components/common/DiscountPercentage'; -import OldPrice from '../../../../../../../components/common/OldPrice'; -import PriceLabel from '../../../../../../../components/common/PriceLabel'; +import DiscountPercentage from '@/components/common/DiscountPercentage'; +import OldPrice from '@/components/common/OldPrice'; +import PriceLabel from '@/components/common/PriceLabel'; import AddToCartDialog from './AddToCartDialog'; import MobileBuyBox from './MobileBuyBox'; @@ -260,7 +260,7 @@ const BuyBox: FC = ({ product }) => { {isMobile && ( - {controllerSection} + {controllerSection} {priceSection} )}