Update typescript to 4.8.4

This commit is contained in:
Fedor Indutny 2022-11-14 11:35:37 -08:00 committed by GitHub
parent 4c622b6f81
commit e6ebfe4fca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 133 additions and 167 deletions

View file

@ -240,11 +240,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
);
} else if (item.type === 'chatSessionRefreshed') {
notification = (
<ChatSessionRefreshedNotification
{...this.props}
{...item.data}
i18n={i18n}
/>
<ChatSessionRefreshedNotification {...this.props} i18n={i18n} />
);
} else if (item.type === 'deliveryIssue') {
notification = (
@ -297,13 +293,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
<GroupV1Migration {...this.props} {...item.data} i18n={i18n} />
);
} else if (item.type === 'resetSessionNotification') {
notification = (
<ResetSessionNotification
{...this.props}
{...item.data}
i18n={i18n}
/>
);
notification = <ResetSessionNotification {...this.props} i18n={i18n} />;
} else if (item.type === 'profileChange') {
notification = (
<ProfileChangeNotification