From e4477db41362793f529b5fd1ffa639227fad94db Mon Sep 17 00:00:00 2001 From: bartvde Date: Fri, 23 Jun 2017 16:00:43 +0200 Subject: [PATCH] Prevent warning for ColorField --- 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 2d6d424..a71aebc 100644 --- a/src/components/fields/ColorField.jsx +++ b/src/components/fields/ColorField.jsx @@ -91,7 +91,7 @@ class ColorField extends React.Component { var swatchStyle = { - "background-color": this.props.value + backgroundColor: this.props.value }; return