Corrige reset de subcategoria
This commit is contained in:
parent
9f85cbaba5
commit
0cac7aa23a
1 changed files with 0 additions and 2 deletions
|
|
@ -72,8 +72,6 @@ export function CategorySelectFields({
|
|||
const first = secondaryOptions[0]
|
||||
if (first) {
|
||||
onSubcategoryChange(first.id)
|
||||
} else {
|
||||
onSubcategoryChange(null)
|
||||
}
|
||||
}
|
||||
}, [categoryId, secondaryOptions, subcategoryId, onSubcategoryChange])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue