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 React, {Component} from 'react';
|
||||
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 PluginMessageQueueState} from '../reducers/pluginMessageQueue';
|
||||
import {ActiveSheet} from '../reducers/application';
|
||||
import {selectedPlugins as actionForSelectedPlugins} from '../reducers/plugins';
|
||||
import {getActivePersistentPlugins} from '../utils/pluginUtils';
|
||||
@@ -26,7 +23,6 @@ import ListView from './ListView';
|
||||
import {Dispatch, Action} from 'redux';
|
||||
import {unsetShare} from '../reducers/application';
|
||||
import {FlexColumn, styled} from '../ui';
|
||||
import Client from '../Client';
|
||||
|
||||
type OwnProps = {
|
||||
onHide: () => void;
|
||||
|
||||
@@ -45,7 +45,6 @@ import {deconstructClientId, deconstructPluginKey} from '../utils/clientUtils';
|
||||
import {performance} from 'perf_hooks';
|
||||
import {processMessageQueue} from './messageQueue';
|
||||
import {getPluginTitle} from './pluginUtils';
|
||||
import {logPlatformSuccessRate} from './metrics';
|
||||
import {capture} from './screenshot';
|
||||
import {uploadFlipperMedia} from '../fb-stubs/user';
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import {FlipperDevicePlugin, Device, AndroidDevice} from 'flipper';
|
||||
import adb, {Client as ADBClient} from 'adbkit';
|
||||
import adb from 'adbkit';
|
||||
import TemperatureTable from './TemperatureTable';
|
||||
|
||||
import {
|
||||
|
||||
@@ -94,12 +94,12 @@ type ImagesCacheOverviewState = {
|
||||
size: number;
|
||||
};
|
||||
|
||||
const StyledSelect = styled(Select)((props) => ({
|
||||
const _StyledSelect = styled(Select)({
|
||||
marginLeft: 6,
|
||||
marginRight: 6,
|
||||
height: '100%',
|
||||
maxWidth: 164,
|
||||
}));
|
||||
});
|
||||
|
||||
export default class ImagesCacheOverview extends PureComponent<
|
||||
ImagesCacheOverviewProps,
|
||||
|
||||
@@ -115,7 +115,7 @@ class EventDetails extends Component<{
|
||||
<DataDescription
|
||||
type="number"
|
||||
value={event.startTime}
|
||||
setValue={function (path: Array<string>, val: any) {}}
|
||||
setValue={null}
|
||||
/>
|
||||
</p>
|
||||
<p>
|
||||
@@ -124,17 +124,13 @@ class EventDetails extends Component<{
|
||||
<DataDescription
|
||||
type="number"
|
||||
value={event.endTime}
|
||||
setValue={function (path: Array<string>, val: any) {}}
|
||||
setValue={null}
|
||||
/>
|
||||
</p>
|
||||
<p>
|
||||
<DataDescriptionKey>Source</DataDescriptionKey>
|
||||
<span key="sep">: </span>
|
||||
<DataDescription
|
||||
type="string"
|
||||
value={event.source}
|
||||
setValue={function (path: Array<string>, val: any) {}}
|
||||
/>
|
||||
<DataDescription type="string" value={event.source} setValue={null} />
|
||||
</p>
|
||||
<p>
|
||||
<DataDescriptionKey>Requested on cold start</DataDescriptionKey>
|
||||
@@ -162,7 +158,7 @@ class EventDetails extends Component<{
|
||||
<DataDescription
|
||||
type="string"
|
||||
value={viewport.width + 'x' + viewport.height}
|
||||
setValue={function (path: Array<string>, val: any) {}}
|
||||
setValue={null}
|
||||
/>
|
||||
</p>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user