Fix random warnings in several plugins

Summary: Click through plugins and fix warnings until tired.

Reviewed By: jknoxville

Differential Revision: D19253740

fbshipit-source-id: 87b6d6b103ee51c7b5579a128a15c3bb9d71b432
This commit is contained in:
Michel Weststrate
2020-01-02 07:51:51 -08:00
committed by Facebook Github Bot
parent 5d25b77622
commit 59c9a10a73
3 changed files with 28 additions and 23 deletions

View File

@@ -7,8 +7,8 @@
* @format
*/
import {produce} from 'immer';
import {Actions} from './';
import {produce} from 'flipper';
export type State = {
healthcheckReport: HealthcheckReport;

View File

@@ -159,7 +159,7 @@ class NumberTextEditor extends PureComponent<{
compact={true}
onChange={this.onNumberTextInputChange}
onKeyDown={this.onNumberTextInputKeyDown}
innerRef={this.onNumberTextRef}
ref={this.onNumberTextRef}
onBlur={this.onNumberTextBlur}
value={this.props.value}
/>

View File

@@ -20,39 +20,47 @@ const ICONS = {
'app-dailies': [12],
'app-react': [12],
'arrow-right': [12],
bell: [12],
'bell-null-outline': [12, 24],
'bell-null': [12],
'building-city': [12],
'brush-paint': [12],
'building-city': [12],
'caution-octagon': [16],
'caution-triangle': [12, 16, 24],
'chevron-down-outline': [10],
'chevron-down': [8, 12],
'chevron-up': [8, 12],
'chevron-left': [12],
'chevron-right': [8, 12, 16],
compose: [12],
'chevron-up': [8, 12],
'cross-circle': [12, 16, 24],
'dashboard-outline': [24],
'data-table': [16],
'dots-3-circle-outline': [16],
'face-unhappy-outline': [24],
'first-aid': [12],
'flash-default': [12],
'info-circle': [12, 16, 24],
'life-event-major': [16],
'magic-wand': [12, 20],
'magnifying-glass': [16, 20],
'minus-circle': [12],
'mobile-engagement': [16],
network: [12],
'news-feed': [12],
'question-circle': [12],
'question-circle-outline': [16],
'question-circle': [12],
'refresh-left': [16],
'share-external': [12, 16],
'star-outline': [12, 16, 24],
trending: [12],
'star-slash': [16],
'stop-playback': [16],
'thought-bubble': [12],
'trash-outline': [16],
'triangle-down': [12],
'triangle-right': [12],
'thought-bubble': [12],
'washing-machine': [12],
'watch-tv': [12],
accessibility: [16],
apps: [12],
bell: [12],
bird: [12],
borders: [16],
box: [12],
@@ -60,38 +68,35 @@ const ICONS = {
camcorder: [12, 16],
camera: [12, 16],
caution: [16],
cross: [16],
checkmark: [16],
compose: [12],
copy: [12],
cross: [16],
dashboard: [12],
'dashboard-outline': [24],
desktop: [12],
directions: [12],
download: [16],
internet: [12],
messages: [12],
mobile: [12, 16, 32],
network: [12],
pause: [16],
posts: [20],
power: [16],
profile: [12],
'refresh-left': [16],
question: [16],
rocket: [20],
settings: [12],
share: [16],
star: [12, 16, 24],
stop: [16],
'stop-playback': [16],
tree: [12],
translate: [12],
trash: [12, 16],
'trash-outline': [16],
'star-slash': [16],
'life-event-major': [16],
target: [12, 16],
tools: [12, 20],
question: [16],
translate: [12],
trash: [12, 16],
tree: [12],
trending: [12],
underline: [12],
'washing-machine': [12],
'watch-tv': [12],
};
// Takes a string like 'star', or 'star-outline', and converts it to