diff --git a/playground/samples/propertyDependencies.js b/playground/samples/propertyDependencies.js index 133f708ea0..efaba6e68d 100644 --- a/playground/samples/propertyDependencies.js +++ b/playground/samples/propertyDependencies.js @@ -1,5 +1,3 @@ -import React from "react"; - module.exports = { schema: { title: "Property dependencies", @@ -56,12 +54,8 @@ module.exports = { uiSchema: { unidirectional: { credit_card: { - "ui:help": ( -

- If you enter anything here then billing_address will - become required. -

- ), + "ui:help": + "If you enter anything here then billing_address will become required.", }, billing_address: { "ui:help": @@ -70,20 +64,12 @@ module.exports = { }, bidirectional: { credit_card: { - "ui:help": ( -

- "If you enter anything here then billing_address will - become required. -

- ), + "ui:help": + "If you enter anything here then billing_address will become required.", }, billing_address: { - "ui:help": ( -

- If you enter anything here then credit_card will become - required. -

- ), + "ui:help": + "If you enter anything here then credit_card will become required.", }, }, }, diff --git a/playground/samples/schemaDependencies.js b/playground/samples/schemaDependencies.js index 610d6dc635..90b8478c2b 100644 --- a/playground/samples/schemaDependencies.js +++ b/playground/samples/schemaDependencies.js @@ -1,5 +1,3 @@ -import React from "react"; - module.exports = { schema: { title: "Schema dependencies", @@ -110,12 +108,8 @@ module.exports = { uiSchema: { simple: { credit_card: { - "ui:help": ( -

- If you enter anything here then billing_address will be - dynamically added to the form. -

- ), + "ui:help": + "If you enter anything here then billing_address will be dynamically added to the form.", }, }, conditional: {