+
+
setValidateEnabled(!isValidateEnabled)}
+ data-testid="is-validate-json" checked={isValidateEnabled}/>
+
{inProgress ?
-
+
: null}
@@ -169,7 +177,7 @@ export default function Editors({ onPersist, currentJson }: EditorsPageProps) {
- {error &&
{error}
}
+ {isValidateEnabled && error &&
{error}
}
;
}