From 00afbad7ac7a236d83aff6c1a3712e9e5cb2cc1e Mon Sep 17 00:00:00 2001 From: orangemug Date: Sun, 3 Jun 2018 10:00:50 +0100 Subject: [PATCH] Fixed lint errors. --- src/components/AppLayout.jsx | 1 + src/components/Toolbar.jsx | 1 + src/components/modals/ShortcutsModal.jsx | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/AppLayout.jsx b/src/components/AppLayout.jsx index 63fc5c6..8ea4cae 100644 --- a/src/components/AppLayout.jsx +++ b/src/components/AppLayout.jsx @@ -9,6 +9,7 @@ class AppLayout extends React.Component { layerEditor: PropTypes.element, map: PropTypes.element.isRequired, bottom: PropTypes.element, + modals: PropTypes.node, } static childContextTypes = { diff --git a/src/components/Toolbar.jsx b/src/components/Toolbar.jsx index 2f7002d..b0a0b72 100644 --- a/src/components/Toolbar.jsx +++ b/src/components/Toolbar.jsx @@ -37,6 +37,7 @@ class ToolbarLink extends React.Component { className: PropTypes.string, children: PropTypes.node, href: PropTypes.string, + onToggleModal: PropTypes.func, } render() { diff --git a/src/components/modals/ShortcutsModal.jsx b/src/components/modals/ShortcutsModal.jsx index 0aa0a7f..6a17e4b 100644 --- a/src/components/modals/ShortcutsModal.jsx +++ b/src/components/modals/ShortcutsModal.jsx @@ -60,7 +60,7 @@ class ShortcutsModal extends React.Component {