From 0f22eb83d3f1c2245d468a85174de4dcf322ac6f Mon Sep 17 00:00:00 2001 From: orangemug Date: Thu, 30 Jan 2020 09:18:23 +0000 Subject: [PATCH] 'name' is not a required property of --- src/components/fields/ColorField.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/fields/ColorField.jsx b/src/components/fields/ColorField.jsx index 9cb44f8..cc77d69 100644 --- a/src/components/fields/ColorField.jsx +++ b/src/components/fields/ColorField.jsx @@ -13,7 +13,7 @@ function formatColor(color) { class ColorField extends React.Component { static propTypes = { onChange: PropTypes.func.isRequired, - name: PropTypes.string.isRequired, + name: PropTypes.string, value: PropTypes.string, doc: PropTypes.string, style: PropTypes.object,