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:
committed by
Facebook Github Bot
parent
5d25b77622
commit
59c9a10a73
@@ -7,8 +7,8 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import {produce} from 'immer';
|
||||||
import {Actions} from './';
|
import {Actions} from './';
|
||||||
import {produce} from 'flipper';
|
|
||||||
|
|
||||||
export type State = {
|
export type State = {
|
||||||
healthcheckReport: HealthcheckReport;
|
healthcheckReport: HealthcheckReport;
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ class NumberTextEditor extends PureComponent<{
|
|||||||
compact={true}
|
compact={true}
|
||||||
onChange={this.onNumberTextInputChange}
|
onChange={this.onNumberTextInputChange}
|
||||||
onKeyDown={this.onNumberTextInputKeyDown}
|
onKeyDown={this.onNumberTextInputKeyDown}
|
||||||
innerRef={this.onNumberTextRef}
|
ref={this.onNumberTextRef}
|
||||||
onBlur={this.onNumberTextBlur}
|
onBlur={this.onNumberTextBlur}
|
||||||
value={this.props.value}
|
value={this.props.value}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -20,39 +20,47 @@ const ICONS = {
|
|||||||
'app-dailies': [12],
|
'app-dailies': [12],
|
||||||
'app-react': [12],
|
'app-react': [12],
|
||||||
'arrow-right': [12],
|
'arrow-right': [12],
|
||||||
bell: [12],
|
|
||||||
'bell-null-outline': [12, 24],
|
'bell-null-outline': [12, 24],
|
||||||
'bell-null': [12],
|
'bell-null': [12],
|
||||||
'building-city': [12],
|
|
||||||
'brush-paint': [12],
|
'brush-paint': [12],
|
||||||
|
'building-city': [12],
|
||||||
'caution-octagon': [16],
|
'caution-octagon': [16],
|
||||||
'caution-triangle': [12, 16, 24],
|
'caution-triangle': [12, 16, 24],
|
||||||
'chevron-down-outline': [10],
|
'chevron-down-outline': [10],
|
||||||
'chevron-down': [8, 12],
|
'chevron-down': [8, 12],
|
||||||
'chevron-up': [8, 12],
|
|
||||||
'chevron-left': [12],
|
'chevron-left': [12],
|
||||||
'chevron-right': [8, 12, 16],
|
'chevron-right': [8, 12, 16],
|
||||||
compose: [12],
|
'chevron-up': [8, 12],
|
||||||
'cross-circle': [12, 16, 24],
|
'cross-circle': [12, 16, 24],
|
||||||
|
'dashboard-outline': [24],
|
||||||
|
'data-table': [16],
|
||||||
'dots-3-circle-outline': [16],
|
'dots-3-circle-outline': [16],
|
||||||
|
'face-unhappy-outline': [24],
|
||||||
'first-aid': [12],
|
'first-aid': [12],
|
||||||
'flash-default': [12],
|
'flash-default': [12],
|
||||||
'info-circle': [12, 16, 24],
|
'info-circle': [12, 16, 24],
|
||||||
|
'life-event-major': [16],
|
||||||
'magic-wand': [12, 20],
|
'magic-wand': [12, 20],
|
||||||
'magnifying-glass': [16, 20],
|
'magnifying-glass': [16, 20],
|
||||||
'minus-circle': [12],
|
'minus-circle': [12],
|
||||||
'mobile-engagement': [16],
|
'mobile-engagement': [16],
|
||||||
network: [12],
|
|
||||||
'news-feed': [12],
|
'news-feed': [12],
|
||||||
'question-circle': [12],
|
|
||||||
'question-circle-outline': [16],
|
'question-circle-outline': [16],
|
||||||
|
'question-circle': [12],
|
||||||
|
'refresh-left': [16],
|
||||||
|
'share-external': [12, 16],
|
||||||
'star-outline': [12, 16, 24],
|
'star-outline': [12, 16, 24],
|
||||||
trending: [12],
|
'star-slash': [16],
|
||||||
|
'stop-playback': [16],
|
||||||
|
'thought-bubble': [12],
|
||||||
|
'trash-outline': [16],
|
||||||
'triangle-down': [12],
|
'triangle-down': [12],
|
||||||
'triangle-right': [12],
|
'triangle-right': [12],
|
||||||
'thought-bubble': [12],
|
'washing-machine': [12],
|
||||||
|
'watch-tv': [12],
|
||||||
accessibility: [16],
|
accessibility: [16],
|
||||||
apps: [12],
|
apps: [12],
|
||||||
|
bell: [12],
|
||||||
bird: [12],
|
bird: [12],
|
||||||
borders: [16],
|
borders: [16],
|
||||||
box: [12],
|
box: [12],
|
||||||
@@ -60,38 +68,35 @@ const ICONS = {
|
|||||||
camcorder: [12, 16],
|
camcorder: [12, 16],
|
||||||
camera: [12, 16],
|
camera: [12, 16],
|
||||||
caution: [16],
|
caution: [16],
|
||||||
cross: [16],
|
|
||||||
checkmark: [16],
|
checkmark: [16],
|
||||||
|
compose: [12],
|
||||||
|
copy: [12],
|
||||||
|
cross: [16],
|
||||||
dashboard: [12],
|
dashboard: [12],
|
||||||
'dashboard-outline': [24],
|
|
||||||
desktop: [12],
|
desktop: [12],
|
||||||
directions: [12],
|
directions: [12],
|
||||||
download: [16],
|
download: [16],
|
||||||
internet: [12],
|
internet: [12],
|
||||||
messages: [12],
|
messages: [12],
|
||||||
mobile: [12, 16, 32],
|
mobile: [12, 16, 32],
|
||||||
|
network: [12],
|
||||||
|
pause: [16],
|
||||||
posts: [20],
|
posts: [20],
|
||||||
power: [16],
|
power: [16],
|
||||||
profile: [12],
|
profile: [12],
|
||||||
'refresh-left': [16],
|
question: [16],
|
||||||
rocket: [20],
|
rocket: [20],
|
||||||
settings: [12],
|
settings: [12],
|
||||||
share: [16],
|
share: [16],
|
||||||
star: [12, 16, 24],
|
star: [12, 16, 24],
|
||||||
stop: [16],
|
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],
|
target: [12, 16],
|
||||||
tools: [12, 20],
|
tools: [12, 20],
|
||||||
question: [16],
|
translate: [12],
|
||||||
|
trash: [12, 16],
|
||||||
|
tree: [12],
|
||||||
|
trending: [12],
|
||||||
underline: [12],
|
underline: [12],
|
||||||
'washing-machine': [12],
|
|
||||||
'watch-tv': [12],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Takes a string like 'star', or 'star-outline', and converts it to
|
// Takes a string like 'star', or 'star-outline', and converts it to
|
||||||
|
|||||||
Reference in New Issue
Block a user