Fixed lint errors.

This commit is contained in:
orangemug 2018-06-03 10:00:50 +01:00
parent 1e09066779
commit 00afbad7ac
3 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@ class AppLayout extends React.Component {
layerEditor: PropTypes.element,
map: PropTypes.element.isRequired,
bottom: PropTypes.element,
modals: PropTypes.node,
}
static childContextTypes = {

View file

@ -37,6 +37,7 @@ class ToolbarLink extends React.Component {
className: PropTypes.string,
children: PropTypes.node,
href: PropTypes.string,
onToggleModal: PropTypes.func,
}
render() {

View file

@ -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>
})}