mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 15:40:00 +00:00
Fix many React warnings
This commit is contained in:
@@ -76,6 +76,7 @@ export default class SpecField extends React.Component {
|
||||
} else {
|
||||
return <SelectInput
|
||||
{...commonProps}
|
||||
value={this.props.value || this.props.fieldSpec.default}
|
||||
options={options}
|
||||
/>
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ export default class ZoomSpecField extends React.Component {
|
||||
<DocLabel
|
||||
label={<FunctionIcon />}
|
||||
cursorTargetStyle={{ cursor: 'pointer' }}
|
||||
doc="Turn property into a zoom function to enable a map feature to change with map's zoom level."
|
||||
doc={"Turn property into a zoom function to enable a map feature to change with map's zoom level."}
|
||||
/>
|
||||
</Button>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user