Remove autofixable rules

[MAILPOET-3201]
This commit is contained in:
Pavel Dohnal
2020-11-16 09:32:39 +01:00
committed by Veljko V
parent f107a01647
commit 07c9cca3b1
100 changed files with 595 additions and 600 deletions

View File

@@ -3,10 +3,10 @@ import { useSelector } from 'settings/store/hooks';
import ReactSelect from 'common/form/react_select/react_select';
type Props = {
id: string
value: string[]
placeholder?: string
setValue: (x: string[]) => any
id: string;
value: string[];
placeholder?: string;
setValue: (x: string[]) => any;
}
export default (props: Props) => {
@@ -16,7 +16,7 @@ export default (props: Props) => {
count: segment.subscribers,
}));
const defaultValue = segments.filter((segment) => props.value.indexOf(segment.value) > -1);
const defaultValue = segments.filter((segment) => props.value.includes(segment.value));
return (
<ReactSelect