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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
499 changed files with 8995 additions and 8494 deletions

View file

@ -16,7 +16,7 @@ export type PropsType = {
setPresenting: (_?: PresentedSource) => void;
};
const Source = ({
function Source({
onSourceClick,
source,
sourceToPresent,
@ -24,7 +24,7 @@ const Source = ({
onSourceClick: (source: PresentedSource) => void;
source: PresentableSource;
sourceToPresent?: PresentedSource;
}): JSX.Element => {
}): JSX.Element {
return (
<button
className={classNames({
@ -62,13 +62,13 @@ const Source = ({
</div>
</button>
);
};
}
export const CallingSelectPresentingSourcesModal = ({
export function CallingSelectPresentingSourcesModal({
i18n,
presentingSourcesAvailable,
setPresenting,
}: PropsType): JSX.Element | null => {
}: PropsType): JSX.Element | null {
const [sourceToPresent, setSourceToPresent] = useState<
PresentedSource | undefined
>(undefined);
@ -137,4 +137,4 @@ export const CallingSelectPresentingSourcesModal = ({
</div>
</Modal>
);
};
}