update value

This commit is contained in:
hamid zarghami
2026-01-25 12:02:23 +03:30
parent 5a129dfcda
commit 375ea9d669
5 changed files with 147 additions and 6 deletions
@@ -3,7 +3,7 @@ import { useParams } from 'react-router-dom'
import { useGetAttributeValues } from '../hooks/useProductData'
import CreateValue from '../components/CreateValue'
import Table from '@/components/Table'
import { Edit } from 'iconsax-react'
import UpdateValue from '../components/UpdateValue'
const AttributeValues: FC = () => {
@@ -35,12 +35,12 @@ const AttributeValues: FC = () => {
{
key: 'actions',
title: '',
render: () => {
render: (item) => {
return (
<div className='flex gap-2 items-center'>
<Edit
size={20}
color='#0037FF'
<UpdateValue
id={item.id}
refetch={refetch}
/>
</div>
)