mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
added freeAgreement to pricing validation (#1188)
This commit is contained in:
parent
4dad9b6f9a
commit
f2ecf1666b
@ -20,7 +20,8 @@ export default function Navigation(): ReactElement {
|
||||
const isSuccessMetadata = errors.metadata === undefined
|
||||
const isSuccessServices = errors.services === undefined
|
||||
const isSuccessPricing =
|
||||
errors.pricing === undefined && touched.pricing?.price
|
||||
errors.pricing === undefined &&
|
||||
(touched.pricing?.price || touched.pricing?.freeAgreement)
|
||||
const isSuccessPreview =
|
||||
isSuccessMetadata && isSuccessServices && isSuccessPricing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user