mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 19:01:15 +01:00
Fixed lint errors.
This commit is contained in:
parent
1e09066779
commit
00afbad7ac
3 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ class AppLayout extends React.Component {
|
|||
layerEditor: PropTypes.element,
|
||||
map: PropTypes.element.isRequired,
|
||||
bottom: PropTypes.element,
|
||||
modals: PropTypes.node,
|
||||
}
|
||||
|
||||
static childContextTypes = {
|
||||
|
|
|
@ -37,6 +37,7 @@ class ToolbarLink extends React.Component {
|
|||
className: PropTypes.string,
|
||||
children: PropTypes.node,
|
||||
href: PropTypes.string,
|
||||
onToggleModal: PropTypes.func,
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
|
@ -60,7 +60,7 @@ class ShortcutsModal extends React.Component {
|
|||
</p>
|
||||
<ul>
|
||||
{help.map((item) => {
|
||||
return <li>
|
||||
return <li key={item.key}>
|
||||
<code>{item.key}</code> {item.text}
|
||||
</li>
|
||||
})}
|
||||
|
|
Loading…
Reference in a new issue