From f2ecf1666be8f58f56e686609d6f3b4fefae281d Mon Sep 17 00:00:00 2001 From: EnzoVezzaro Date: Wed, 16 Mar 2022 08:17:02 -0400 Subject: [PATCH] added freeAgreement to pricing validation (#1188) --- src/components/Publish/Navigation/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Publish/Navigation/index.tsx b/src/components/Publish/Navigation/index.tsx index 989e1becd..1d8770b28 100644 --- a/src/components/Publish/Navigation/index.tsx +++ b/src/components/Publish/Navigation/index.tsx @@ -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