Update eslint to 8.27.0

This commit is contained in:
Fedor Indutny
2022-11-17 16:45:19 -08:00
committed by GitHub
parent c8fb43a846
commit 98ef4c627a
499 changed files with 8995 additions and 8494 deletions

View File

@@ -1,7 +1,6 @@
// Copyright 2021-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { FunctionComponent } from 'react';
import React, {
useEffect,
useMemo,
@@ -71,7 +70,7 @@ type ActionPropsType = Omit<
type PropsType = StatePropsType & ActionPropsType;
// TODO: This should use <Modal>. See DESKTOP-1038.
export const ChooseGroupMembersModal: FunctionComponent<PropsType> = ({
export function ChooseGroupMembersModal({
regionCode,
candidateContacts,
confirmAdds,
@@ -89,7 +88,7 @@ export const ChooseGroupMembersModal: FunctionComponent<PropsType> = ({
lookupConversationWithoutUuid,
showUserNotFoundModal,
isUsernamesEnabled,
}) => {
}: PropsType): JSX.Element {
const [focusRef] = useRestoreFocus();
const phoneNumber = parseAndFormatPhoneNumber(searchTerm, regionCode);
@@ -400,4 +399,4 @@ export const ChooseGroupMembersModal: FunctionComponent<PropsType> = ({
</div>
</ModalHost>
);
};
}