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

@ -32,15 +32,17 @@ export default {
title: 'Components/AvatarLightbox',
};
export const Group = (): JSX.Element => (
<AvatarLightbox
{...createProps({
isGroup: true,
})}
/>
);
export function Group(): JSX.Element {
return (
<AvatarLightbox
{...createProps({
isGroup: true,
})}
/>
);
}
export const Person = (): JSX.Element => {
export function Person(): JSX.Element {
const conversation = getDefaultConversation();
return (
<AvatarLightbox
@ -50,12 +52,14 @@ export const Person = (): JSX.Element => {
})}
/>
);
};
}
export const Photo = (): JSX.Element => (
<AvatarLightbox
{...createProps({
avatarPath: '/fixtures/kitten-1-64-64.jpg',
})}
/>
);
export function Photo(): JSX.Element {
return (
<AvatarLightbox
{...createProps({
avatarPath: '/fixtures/kitten-1-64-64.jpg',
})}
/>
);
}