From 809f2c2df25d604a632b3f6d00926653e0d5c786 Mon Sep 17 00:00:00 2001 From: Kelly Phan Date: Thu, 9 Jan 2025 15:18:28 +0100 Subject: [PATCH] refactor: rename folder --- .../{addDrawer => createCustomer}/BillingAccordion.tsx | 0 .../{addDrawer => createCustomer}/CustomerInformation.tsx | 0 .../AccountingProvidersAccordion.tsx | 0 .../ExternalAppsAccordion/CRMProvidersAccordion.tsx | 0 .../ExternalAppsAccordion/ExternalAppsAccordionLayout.tsx | 0 .../ExternalAppsAccordion/PaymentProvidersAccordion.tsx | 0 .../ExternalAppsAccordion/TaxProvidersAccordion.tsx | 0 .../ExternalAppsAccordion/index.tsx | 0 .../ExternalAppsAccordion/utils.ts | 0 .../{addDrawer => createCustomer}/MetadataAccordion.tsx | 0 src/pages/CreateCustomer.tsx | 8 ++++---- 11 files changed, 4 insertions(+), 4 deletions(-) rename src/components/customers/{addDrawer => createCustomer}/BillingAccordion.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/CustomerInformation.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/ExternalAppsAccordion/AccountingProvidersAccordion.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/ExternalAppsAccordion/CRMProvidersAccordion.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/ExternalAppsAccordion/ExternalAppsAccordionLayout.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/ExternalAppsAccordion/PaymentProvidersAccordion.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/ExternalAppsAccordion/TaxProvidersAccordion.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/ExternalAppsAccordion/index.tsx (100%) rename src/components/customers/{addDrawer => createCustomer}/ExternalAppsAccordion/utils.ts (100%) rename src/components/customers/{addDrawer => createCustomer}/MetadataAccordion.tsx (100%) diff --git a/src/components/customers/addDrawer/BillingAccordion.tsx b/src/components/customers/createCustomer/BillingAccordion.tsx similarity index 100% rename from src/components/customers/addDrawer/BillingAccordion.tsx rename to src/components/customers/createCustomer/BillingAccordion.tsx diff --git a/src/components/customers/addDrawer/CustomerInformation.tsx b/src/components/customers/createCustomer/CustomerInformation.tsx similarity index 100% rename from src/components/customers/addDrawer/CustomerInformation.tsx rename to src/components/customers/createCustomer/CustomerInformation.tsx diff --git a/src/components/customers/addDrawer/ExternalAppsAccordion/AccountingProvidersAccordion.tsx b/src/components/customers/createCustomer/ExternalAppsAccordion/AccountingProvidersAccordion.tsx similarity index 100% rename from src/components/customers/addDrawer/ExternalAppsAccordion/AccountingProvidersAccordion.tsx rename to src/components/customers/createCustomer/ExternalAppsAccordion/AccountingProvidersAccordion.tsx diff --git a/src/components/customers/addDrawer/ExternalAppsAccordion/CRMProvidersAccordion.tsx b/src/components/customers/createCustomer/ExternalAppsAccordion/CRMProvidersAccordion.tsx similarity index 100% rename from src/components/customers/addDrawer/ExternalAppsAccordion/CRMProvidersAccordion.tsx rename to src/components/customers/createCustomer/ExternalAppsAccordion/CRMProvidersAccordion.tsx diff --git a/src/components/customers/addDrawer/ExternalAppsAccordion/ExternalAppsAccordionLayout.tsx b/src/components/customers/createCustomer/ExternalAppsAccordion/ExternalAppsAccordionLayout.tsx similarity index 100% rename from src/components/customers/addDrawer/ExternalAppsAccordion/ExternalAppsAccordionLayout.tsx rename to src/components/customers/createCustomer/ExternalAppsAccordion/ExternalAppsAccordionLayout.tsx diff --git a/src/components/customers/addDrawer/ExternalAppsAccordion/PaymentProvidersAccordion.tsx b/src/components/customers/createCustomer/ExternalAppsAccordion/PaymentProvidersAccordion.tsx similarity index 100% rename from src/components/customers/addDrawer/ExternalAppsAccordion/PaymentProvidersAccordion.tsx rename to src/components/customers/createCustomer/ExternalAppsAccordion/PaymentProvidersAccordion.tsx diff --git a/src/components/customers/addDrawer/ExternalAppsAccordion/TaxProvidersAccordion.tsx b/src/components/customers/createCustomer/ExternalAppsAccordion/TaxProvidersAccordion.tsx similarity index 100% rename from src/components/customers/addDrawer/ExternalAppsAccordion/TaxProvidersAccordion.tsx rename to src/components/customers/createCustomer/ExternalAppsAccordion/TaxProvidersAccordion.tsx diff --git a/src/components/customers/addDrawer/ExternalAppsAccordion/index.tsx b/src/components/customers/createCustomer/ExternalAppsAccordion/index.tsx similarity index 100% rename from src/components/customers/addDrawer/ExternalAppsAccordion/index.tsx rename to src/components/customers/createCustomer/ExternalAppsAccordion/index.tsx diff --git a/src/components/customers/addDrawer/ExternalAppsAccordion/utils.ts b/src/components/customers/createCustomer/ExternalAppsAccordion/utils.ts similarity index 100% rename from src/components/customers/addDrawer/ExternalAppsAccordion/utils.ts rename to src/components/customers/createCustomer/ExternalAppsAccordion/utils.ts diff --git a/src/components/customers/addDrawer/MetadataAccordion.tsx b/src/components/customers/createCustomer/MetadataAccordion.tsx similarity index 100% rename from src/components/customers/addDrawer/MetadataAccordion.tsx rename to src/components/customers/createCustomer/MetadataAccordion.tsx diff --git a/src/pages/CreateCustomer.tsx b/src/pages/CreateCustomer.tsx index 774f21007..b75534b06 100644 --- a/src/pages/CreateCustomer.tsx +++ b/src/pages/CreateCustomer.tsx @@ -2,13 +2,13 @@ import { useFormik } from 'formik' import { RefObject, useRef } from 'react' import { array, object, ref, string } from 'yup' -import { BillingAccordion } from '~/components/customers/addDrawer/BillingAccordion' -import { CustomerInformation } from '~/components/customers/addDrawer/CustomerInformation' -import { ExternalAppsAccordion } from '~/components/customers/addDrawer/ExternalAppsAccordion' +import { BillingAccordion } from '~/components/customers/createCustomer/BillingAccordion' +import { CustomerInformation } from '~/components/customers/createCustomer/CustomerInformation' +import { ExternalAppsAccordion } from '~/components/customers/createCustomer/ExternalAppsAccordion' import { LocalCustomerMetadata, MetadataAccordion, -} from '~/components/customers/addDrawer/MetadataAccordion' +} from '~/components/customers/createCustomer/MetadataAccordion' import { Button, DrawerRef, Typography } from '~/components/designSystem' import { CenteredPage } from '~/components/layouts/Pages' import { WarningDialog, WarningDialogRef } from '~/components/WarningDialog'