mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 05:57:25 +00:00
Merge pull request #145 from bartvde/style-warning
Prevent warning for ColorField
This commit is contained in:
@@ -91,7 +91,7 @@ class ColorField extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
var swatchStyle = {
|
var swatchStyle = {
|
||||||
"background-color": this.props.value
|
backgroundColor: this.props.value
|
||||||
};
|
};
|
||||||
|
|
||||||
return <div className="maputnik-color-wrapper">
|
return <div className="maputnik-color-wrapper">
|
||||||
|
|||||||
Reference in New Issue
Block a user