Skip to content
Snippets Groups Projects
Commit 7ef5d239 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Fix linting

parent 18fc37c1
No related branches found
No related tags found
No related merge requests found
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import React from 'react'; import React from 'react';
import keyMirror from 'keymirror'; import keyMirror from 'keymirror';
import {defineMessages, injectIntl, intlShape} from 'react-intl';
import Box from '../box/box.jsx'; import Box from '../box/box.jsx';
import Modal from '../modal/modal.jsx'; import Modal from '../modal/modal.jsx';
...@@ -38,7 +37,6 @@ const ConnectionModalComponent = props => ( ...@@ -38,7 +37,6 @@ const ConnectionModalComponent = props => (
); );
ConnectionModalComponent.propTypes = { ConnectionModalComponent.propTypes = {
intl: intlShape,
name: PropTypes.node, name: PropTypes.node,
onCancel: PropTypes.func.isRequired, onCancel: PropTypes.func.isRequired,
phase: PropTypes.oneOf(Object.keys(PHASES)).isRequired, phase: PropTypes.oneOf(Object.keys(PHASES)).isRequired,
...@@ -46,9 +44,7 @@ ConnectionModalComponent.propTypes = { ...@@ -46,9 +44,7 @@ ConnectionModalComponent.propTypes = {
title: PropTypes.string.isRequired title: PropTypes.string.isRequired
}; };
const IntlModal = injectIntl(ConnectionModalComponent);
export { export {
IntlModal as default, ConnectionModalComponent as default,
PHASES PHASES
}; };
...@@ -126,7 +126,7 @@ export default [ ...@@ -126,7 +126,7 @@ export default [
/> />
), ),
featured: true, featured: true,
disabled: true disabled: true,
launchDeviceConnectionFlow: true, launchDeviceConnectionFlow: true,
deviceImage: microbitDeviceImage, deviceImage: microbitDeviceImage,
smallDeviceImage: microbitMenuImage smallDeviceImage: microbitMenuImage
...@@ -157,7 +157,7 @@ export default [ ...@@ -157,7 +157,7 @@ export default [
/> />
), ),
featured: true, featured: true,
disabled: true disabled: true,
launchDeviceConnectionFlow: true, launchDeviceConnectionFlow: true,
deviceImage: ev3DeviceImage, deviceImage: ev3DeviceImage,
smallDeviceImage: ev3MenuImage smallDeviceImage: ev3MenuImage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment