diff --git a/src/products/components/ProductCreatePage/form.tsx b/src/products/components/ProductCreatePage/form.tsx index a0be300fc..335151733 100644 --- a/src/products/components/ProductCreatePage/form.tsx +++ b/src/products/components/ProductCreatePage/form.tsx @@ -174,7 +174,6 @@ function useProductCreateForm( trackInventory: false, weight: "" }; - const [changed, setChanged] = React.useState(false); const triggerChange = () => setChanged(true); @@ -312,7 +311,8 @@ function useProductCreateForm( data.channelListings.some( channel => validatePrice(channel.price) || validateCostPrice(channel.costPrice) - )); + ) || + !data.category); return { change: handleChange,