From 314e467b073b72f2fd6ca295b7fc7738f375176d Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Wed, 5 Nov 2025 14:07:24 +0330 Subject: [PATCH] components customers move to folter components --- src/pages/customers/Details.tsx | 8 ++++---- src/pages/customers/{ => components}/AddressesTable.tsx | 0 .../customers/{ => components}/DiscountCodesTable.tsx | 0 src/pages/customers/{ => components}/PointsLogTable.tsx | 0 .../customers/{ => components}/TransactionsTable.tsx | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename src/pages/customers/{ => components}/AddressesTable.tsx (100%) rename src/pages/customers/{ => components}/DiscountCodesTable.tsx (100%) rename src/pages/customers/{ => components}/PointsLogTable.tsx (100%) rename src/pages/customers/{ => components}/TransactionsTable.tsx (100%) diff --git a/src/pages/customers/Details.tsx b/src/pages/customers/Details.tsx index 082401f..5606a18 100644 --- a/src/pages/customers/Details.tsx +++ b/src/pages/customers/Details.tsx @@ -1,9 +1,9 @@ import Button from '@/components/Button' import CustomerStats from '@/components/CustomerStats' -import AddressesTable from './AddressesTable' -import TransactionsTable from './TransactionsTable' -import PointsLogTable from './PointsLogTable' -import DiscountCodesTable from './DiscountCodesTable' +import AddressesTable from './components/AddressesTable' +import TransactionsTable from './components/TransactionsTable' +import PointsLogTable from './components/PointsLogTable' +import DiscountCodesTable from './components/DiscountCodesTable' import { Edit, TaskSquare } from 'iconsax-react' import { type FC } from 'react' diff --git a/src/pages/customers/AddressesTable.tsx b/src/pages/customers/components/AddressesTable.tsx similarity index 100% rename from src/pages/customers/AddressesTable.tsx rename to src/pages/customers/components/AddressesTable.tsx diff --git a/src/pages/customers/DiscountCodesTable.tsx b/src/pages/customers/components/DiscountCodesTable.tsx similarity index 100% rename from src/pages/customers/DiscountCodesTable.tsx rename to src/pages/customers/components/DiscountCodesTable.tsx diff --git a/src/pages/customers/PointsLogTable.tsx b/src/pages/customers/components/PointsLogTable.tsx similarity index 100% rename from src/pages/customers/PointsLogTable.tsx rename to src/pages/customers/components/PointsLogTable.tsx diff --git a/src/pages/customers/TransactionsTable.tsx b/src/pages/customers/components/TransactionsTable.tsx similarity index 100% rename from src/pages/customers/TransactionsTable.tsx rename to src/pages/customers/components/TransactionsTable.tsx