Fixed a bunch of prettier errors after upgrading
Summary: prettier upgrade uncovered more errors Reviewed By: passy Differential Revision: D18474908 fbshipit-source-id: b1553000fb3386f2bbd9defdd3332618e4b9c867
This commit is contained in:
committed by
Facebook Github Bot
parent
677f7b5b5f
commit
f2d12f1025
@@ -81,18 +81,15 @@ class ExportDataPluginSheet extends Component<Props> {
|
||||
selectedElements={getActivePersistentPlugins(
|
||||
pluginStates,
|
||||
plugins,
|
||||
).reduce(
|
||||
(acc, plugin) => {
|
||||
if (
|
||||
plugins.selectedPlugins.length <= 0 ||
|
||||
plugins.selectedPlugins.includes(plugin)
|
||||
) {
|
||||
acc.add(plugin);
|
||||
}
|
||||
return acc;
|
||||
},
|
||||
new Set([]) as Set<string>,
|
||||
)}
|
||||
).reduce((acc, plugin) => {
|
||||
if (
|
||||
plugins.selectedPlugins.length <= 0 ||
|
||||
plugins.selectedPlugins.includes(plugin)
|
||||
) {
|
||||
acc.add(plugin);
|
||||
}
|
||||
return acc;
|
||||
}, new Set([]) as Set<string>)}
|
||||
onHide={onHide}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -47,7 +47,7 @@ import {BackgroundColorProperty} from 'csstype';
|
||||
import {StyledOtherComponent} from 'create-emotion-styled';
|
||||
import SupportRequestFormManager from '../fb-stubs/SupportRequestFormManager';
|
||||
|
||||
type FlipperPlugins = (typeof FlipperPlugin)[];
|
||||
type FlipperPlugins = typeof FlipperPlugin[];
|
||||
type PluginsByCategory = [string, FlipperPlugins][];
|
||||
|
||||
const ListItem = styled('div')(({active}: {active?: boolean}) => ({
|
||||
|
||||
Reference in New Issue
Block a user