Update eslint to 8.27.0
This commit is contained in:
parent
c8fb43a846
commit
98ef4c627a
499 changed files with 8995 additions and 8494 deletions
|
@ -28,7 +28,7 @@ export default {
|
|||
title: 'Components/Conversation/SafetyNumberNotification',
|
||||
};
|
||||
|
||||
export const GroupConversation = (): JSX.Element => {
|
||||
export function GroupConversation(): JSX.Element {
|
||||
const props = createProps({
|
||||
isGroup: true,
|
||||
contact: createContact({
|
||||
|
@ -37,9 +37,9 @@ export const GroupConversation = (): JSX.Element => {
|
|||
});
|
||||
|
||||
return <SafetyNumberNotification {...props} />;
|
||||
};
|
||||
}
|
||||
|
||||
export const DirectConversation = (): JSX.Element => {
|
||||
export function DirectConversation(): JSX.Element {
|
||||
const props = createProps({
|
||||
isGroup: false,
|
||||
contact: createContact({
|
||||
|
@ -48,9 +48,9 @@ export const DirectConversation = (): JSX.Element => {
|
|||
});
|
||||
|
||||
return <SafetyNumberNotification {...props} />;
|
||||
};
|
||||
}
|
||||
|
||||
export const LongNameInGroup = (): JSX.Element => {
|
||||
export function LongNameInGroup(): JSX.Element {
|
||||
const props = createProps({
|
||||
isGroup: true,
|
||||
contact: createContact({
|
||||
|
@ -59,7 +59,7 @@ export const LongNameInGroup = (): JSX.Element => {
|
|||
});
|
||||
|
||||
return <SafetyNumberNotification {...props} />;
|
||||
};
|
||||
}
|
||||
|
||||
LongNameInGroup.story = {
|
||||
name: 'Long name in group',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue