Also fixed invalid DOM nesting warning.

This commit is contained in:
orangemug 2020-02-22 18:47:46 +00:00
parent 4b8800e8ac
commit 10b03c4e00

View file

@ -80,7 +80,7 @@ class ExportModal extends React.Component {
Download a JSON style to your computer. Download a JSON style to your computer.
</p> </p>
<p> <div>
<InputBlock <InputBlock
label={fieldSpecAdditional.maputnik.mapbox_access_token.label} label={fieldSpecAdditional.maputnik.mapbox_access_token.label}
fieldSpec={fieldSpecAdditional.maputnik.mapbox_access_token} fieldSpec={fieldSpecAdditional.maputnik.mapbox_access_token}
@ -108,7 +108,7 @@ class ExportModal extends React.Component {
onChange={this.changeMetadataProperty.bind(this, "maputnik:thunderforest_access_token")} onChange={this.changeMetadataProperty.bind(this, "maputnik:thunderforest_access_token")}
/> />
</InputBlock> </InputBlock>
</p> </div>
<Button onClick={this.downloadStyle.bind(this)}> <Button onClick={this.downloadStyle.bind(this)}>
<MdFileDownload /> <MdFileDownload />