fix brand edit
This commit is contained in:
@@ -88,7 +88,8 @@ const UpdateBrand: FC = () => {
|
||||
logoUrl: brand.logoUrl,
|
||||
})
|
||||
}
|
||||
}, [brandDetail, formik])
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [brandDetail])
|
||||
|
||||
const categoryOptions = categoriesData?.results?.data?.map((category: CategoryTreeNode) => ({
|
||||
value: category._id,
|
||||
|
||||
Reference in New Issue
Block a user