Fix ESLint Warning
Summary: Mainly, remove unused declaration Reviewed By: mweststrate Differential Revision: D21360395 fbshipit-source-id: 20cafefe3a650ab686534998a084301320333088
This commit is contained in:
committed by
Facebook GitHub Bot
parent
018c1f828c
commit
fbc5d922b5
@@ -10,10 +10,7 @@
|
|||||||
import {connect} from 'react-redux';
|
import {connect} from 'react-redux';
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import {ShareType} from '../reducers/application';
|
import {ShareType} from '../reducers/application';
|
||||||
import {State as PluginState} from '../reducers/plugins';
|
|
||||||
import {State as PluginStatesState} from '../reducers/pluginStates';
|
|
||||||
import {State as Store} from '../reducers';
|
import {State as Store} from '../reducers';
|
||||||
import {State as PluginMessageQueueState} from '../reducers/pluginMessageQueue';
|
|
||||||
import {ActiveSheet} from '../reducers/application';
|
import {ActiveSheet} from '../reducers/application';
|
||||||
import {selectedPlugins as actionForSelectedPlugins} from '../reducers/plugins';
|
import {selectedPlugins as actionForSelectedPlugins} from '../reducers/plugins';
|
||||||
import {getActivePersistentPlugins} from '../utils/pluginUtils';
|
import {getActivePersistentPlugins} from '../utils/pluginUtils';
|
||||||
@@ -26,7 +23,6 @@ import ListView from './ListView';
|
|||||||
import {Dispatch, Action} from 'redux';
|
import {Dispatch, Action} from 'redux';
|
||||||
import {unsetShare} from '../reducers/application';
|
import {unsetShare} from '../reducers/application';
|
||||||
import {FlexColumn, styled} from '../ui';
|
import {FlexColumn, styled} from '../ui';
|
||||||
import Client from '../Client';
|
|
||||||
|
|
||||||
type OwnProps = {
|
type OwnProps = {
|
||||||
onHide: () => void;
|
onHide: () => void;
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ import {deconstructClientId, deconstructPluginKey} from '../utils/clientUtils';
|
|||||||
import {performance} from 'perf_hooks';
|
import {performance} from 'perf_hooks';
|
||||||
import {processMessageQueue} from './messageQueue';
|
import {processMessageQueue} from './messageQueue';
|
||||||
import {getPluginTitle} from './pluginUtils';
|
import {getPluginTitle} from './pluginUtils';
|
||||||
import {logPlatformSuccessRate} from './metrics';
|
|
||||||
import {capture} from './screenshot';
|
import {capture} from './screenshot';
|
||||||
import {uploadFlipperMedia} from '../fb-stubs/user';
|
import {uploadFlipperMedia} from '../fb-stubs/user';
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {FlipperDevicePlugin, Device, AndroidDevice} from 'flipper';
|
import {FlipperDevicePlugin, Device, AndroidDevice} from 'flipper';
|
||||||
import adb, {Client as ADBClient} from 'adbkit';
|
import adb from 'adbkit';
|
||||||
import TemperatureTable from './TemperatureTable';
|
import TemperatureTable from './TemperatureTable';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -94,12 +94,12 @@ type ImagesCacheOverviewState = {
|
|||||||
size: number;
|
size: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
const StyledSelect = styled(Select)((props) => ({
|
const _StyledSelect = styled(Select)({
|
||||||
marginLeft: 6,
|
marginLeft: 6,
|
||||||
marginRight: 6,
|
marginRight: 6,
|
||||||
height: '100%',
|
height: '100%',
|
||||||
maxWidth: 164,
|
maxWidth: 164,
|
||||||
}));
|
});
|
||||||
|
|
||||||
export default class ImagesCacheOverview extends PureComponent<
|
export default class ImagesCacheOverview extends PureComponent<
|
||||||
ImagesCacheOverviewProps,
|
ImagesCacheOverviewProps,
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ class EventDetails extends Component<{
|
|||||||
<DataDescription
|
<DataDescription
|
||||||
type="number"
|
type="number"
|
||||||
value={event.startTime}
|
value={event.startTime}
|
||||||
setValue={function (path: Array<string>, val: any) {}}
|
setValue={null}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@@ -124,17 +124,13 @@ class EventDetails extends Component<{
|
|||||||
<DataDescription
|
<DataDescription
|
||||||
type="number"
|
type="number"
|
||||||
value={event.endTime}
|
value={event.endTime}
|
||||||
setValue={function (path: Array<string>, val: any) {}}
|
setValue={null}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<DataDescriptionKey>Source</DataDescriptionKey>
|
<DataDescriptionKey>Source</DataDescriptionKey>
|
||||||
<span key="sep">: </span>
|
<span key="sep">: </span>
|
||||||
<DataDescription
|
<DataDescription type="string" value={event.source} setValue={null} />
|
||||||
type="string"
|
|
||||||
value={event.source}
|
|
||||||
setValue={function (path: Array<string>, val: any) {}}
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<DataDescriptionKey>Requested on cold start</DataDescriptionKey>
|
<DataDescriptionKey>Requested on cold start</DataDescriptionKey>
|
||||||
@@ -162,7 +158,7 @@ class EventDetails extends Component<{
|
|||||||
<DataDescription
|
<DataDescription
|
||||||
type="string"
|
type="string"
|
||||||
value={viewport.width + 'x' + viewport.height}
|
value={viewport.width + 'x' + viewport.height}
|
||||||
setValue={function (path: Array<string>, val: any) {}}
|
setValue={null}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user