diff --git a/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx b/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx index 7857a21..1121a27 100644 --- a/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx +++ b/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx @@ -87,7 +87,11 @@ const CartSummary = ({ isPremium }: CartSummaryProps) => {
{t('PayableAmountLabel')}
-
{formatPrice(totalPrice)} تومان
+ { + isPremium && +
{formatPrice(totalPrice)} تومان
+ + }
{isPremium && ( @@ -105,6 +109,9 @@ const CartSummary = ({ isPremium }: CartSummaryProps) => { )} + {!isPremium && ( +
{formatPrice(totalPrice)} تومان
+ )}
diff --git a/src/app/[name]/(Profile)/profile/address/new/components/AddressDetailsModal.tsx b/src/app/[name]/(Profile)/profile/address/new/components/AddressDetailsModal.tsx index cf9ef1c..3d2dafb 100644 --- a/src/app/[name]/(Profile)/profile/address/new/components/AddressDetailsModal.tsx +++ b/src/app/[name]/(Profile)/profile/address/new/components/AddressDetailsModal.tsx @@ -56,7 +56,7 @@ export const AddressDetailsModal = ({ e.preventDefault(); onChangePosition(); }} - className='!bg-background !w-fit !text-foreground flex items-center gap-2 text-xs' + className='bg-background! w-fit! text-foreground! flex items-center gap-2 text-xs' disabled={isPending} >