Fix linting
This commit is contained in:
1 parent
18fc37c129
commit
7ef5d2393e
2 files changed
+3
-7
No files matched your search
@@ -1,7 +1,6 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import React from 'react';
|
||||
import keyMirror from 'keymirror';
|
||||
import {defineMessages, injectIntl, intlShape} from 'react-intl';
|
||||
|
||||
import Box from '../box/box.jsx';
|
||||
import Modal from '../modal/modal.jsx';
|
||||
@@ -38,7 +37,6 @@ const ConnectionModalComponent = props => (
|
||||
);
|
||||
|
||||
ConnectionModalComponent.propTypes = {
|
||||
intl: intlShape,
|
||||
name: PropTypes.node,
|
||||
onCancel: PropTypes.func.isRequired,
|
||||
phase: PropTypes.oneOf(Object.keys(PHASES)).isRequired,
|
||||
@@ -46,9 +44,7 @@ ConnectionModalComponent.propTypes = {
|
||||
title: PropTypes.string.isRequired
|
||||
};
|
||||
|
||||
const IntlModal = injectIntl(ConnectionModalComponent);
|
||||
|
||||
export {
|
||||
IntlModal as default,
|
||||
ConnectionModalComponent as default,
|
||||
PHASES
|
||||
};
|
||||
@@ -126,7 +126,7 @@ export default [
|
||||
/>
|
||||
),
|
||||
featured: true,
|
||||
disabled: true
|
||||
disabled: true,
|
||||
launchDeviceConnectionFlow: true,
|
||||
deviceImage: microbitDeviceImage,
|
||||
smallDeviceImage: microbitMenuImage
|
||||
@@ -157,7 +157,7 @@ export default [
|
||||
/>
|
||||
),
|
||||
featured: true,
|
||||
disabled: true
|
||||
disabled: true,
|
||||
launchDeviceConnectionFlow: true,
|
||||
deviceImage: ev3DeviceImage,
|
||||
smallDeviceImage: ev3MenuImage
|
||||
|
||||
Reference in new issue
Block a user