This commit is contained in:
hamid zarghami
2026-01-29 09:48:53 +03:30
parent 7e5184529e
commit 420e011b50
19 changed files with 568 additions and 17 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ const ProductCategory: FC = () => {
items={data?.data?.map((item) => {
return {
label: item.title,
value: item.id
value: item.id + ''
}
}) || []}
onChange={formik.handleChange}
+1 -1
View File
@@ -68,7 +68,7 @@ const CategoryList: FC = () => {
/>
</Link>
<TrashWithConfrim
onDelete={() => handleDelete(item.id)}
onDelete={() => handleDelete(item.id + '')}
isloading={isPending}
/>
+1 -1
View File
@@ -118,7 +118,7 @@ const UpdateCategory: FC = () => {
items={data?.data?.map((item) => {
return {
label: item.title,
value: item.id
value: item.id + ''
}
}) || []}
onChange={formik.handleChange}
@@ -18,7 +18,7 @@ const CategoriesSelect: FC<Props> = (props) => {
items={categories?.data?.map((item) => {
return {
label: item.title,
value: item.id
value: item.id + ''
}
}) || []}
{...props}