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
@@ -260,7 +260,10 @@ const diffMetadataExtractor: DiffMetadataExtractor = (
|
||||
// Check if there's a difference between the original value and
|
||||
// the value from the diff prop
|
||||
// The property name still exists, but the values may be different.
|
||||
return [{data: val, status: 'added'}, {data: diffVal, status: 'removed'}];
|
||||
return [
|
||||
{data: val, status: 'added'},
|
||||
{data: diffVal, status: 'removed'},
|
||||
];
|
||||
}
|
||||
|
||||
return Object.prototype.hasOwnProperty.call(data, key) ? [{data: val}] : [];
|
||||
|
||||
@@ -105,8 +105,8 @@ export default class FilterToken extends PureComponent<Props> {
|
||||
onMouseDown = () => {
|
||||
if (
|
||||
this.props.filter.type !== 'enum' ||
|
||||
(this.props.filter.persistent == null ||
|
||||
this.props.filter.persistent === false)
|
||||
this.props.filter.persistent == null ||
|
||||
this.props.filter.persistent === false
|
||||
) {
|
||||
this.props.onFocus(this.props.index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user