remove button add customer
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import Button from '@/components/Button'
|
||||
import Table from '@/components/Table'
|
||||
import Filters, { type FilterValues, type FieldType } from '@/components/Filters'
|
||||
import { Add } from 'iconsax-react'
|
||||
import { type FC, useState, useMemo, useCallback } from 'react'
|
||||
import { Pages } from '@/config/Pages'
|
||||
import { Link } from 'react-router-dom'
|
||||
import { useGetUsers } from './hooks/useUsersData'
|
||||
import type { Customer, CustomerListRow } from '@/pages/customers/types/Types'
|
||||
import { formatOptionalDate, formatFaNumber } from '@/helpers/func'
|
||||
@@ -134,14 +130,14 @@ const CustomersList: FC = () => {
|
||||
<div className='mt-5'>
|
||||
<div className='flex justify-between items-center'>
|
||||
<h1 className='text-lg font-light'>لیست مشتریان</h1>
|
||||
<Link to={Pages.customers.add}>
|
||||
{/* <Link to={Pages.customers.add}>
|
||||
<Button className='w-fit px-6'>
|
||||
<div className='flex gap-2 items-center'>
|
||||
<Add color='#fff' size={20} />
|
||||
<span>افزودن مشتری</span>
|
||||
</div>
|
||||
</Button>
|
||||
</Link>
|
||||
</Link> */}
|
||||
</div>
|
||||
|
||||
<div className='mt-8'>
|
||||
|
||||
Reference in New Issue
Block a user