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 {
{item.key}
{item.text}