From 15f61e3b65b146c4607d2de2c471653f1fd0b2b7 Mon Sep 17 00:00:00 2001 From: Kelly Phan Date: Tue, 30 Jul 2024 17:34:10 +0200 Subject: [PATCH 1/3] fix: move coupons position --- .../customers/{ => overview}/CustomerCoupons.tsx | 4 ++-- src/components/customers/overview/CustomerOverview.tsx | 8 +++++++- .../CustomerSubscriptionsList.tsx | 4 ++-- src/pages/CustomerDetails.tsx | 3 +-- 4 files changed, 12 insertions(+), 7 deletions(-) rename src/components/customers/{ => overview}/CustomerCoupons.tsx (98%) rename src/components/customers/{subscriptions => overview}/CustomerSubscriptionsList.tsx (96%) diff --git a/src/components/customers/CustomerCoupons.tsx b/src/components/customers/overview/CustomerCoupons.tsx similarity index 98% rename from src/components/customers/CustomerCoupons.tsx rename to src/components/customers/overview/CustomerCoupons.tsx index c23ffe69a..1c34752f6 100644 --- a/src/components/customers/CustomerCoupons.tsx +++ b/src/components/customers/overview/CustomerCoupons.tsx @@ -21,7 +21,7 @@ import { SectionHeader } from '~/styles/customer' import { AddCouponToCustomerDialog, AddCouponToCustomerDialogRef, -} from './AddCouponToCustomerDialog' +} from '../AddCouponToCustomerDialog' gql` fragment CustomerCoupon on AppliedCoupon { @@ -85,7 +85,7 @@ export const CustomerCoupons = memo(() => { <> {!!(coupons || [])?.length && ( - + {translate('text_628b8c693e464200e00e469d')}