update value
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user