Fix storybook

This commit is contained in:
Fedor Indutny 2023-04-03 13:16:27 -07:00 committed by GitHub
parent 950c90f75d
commit 2710f463a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 64 additions and 8 deletions

View file

@ -19,6 +19,7 @@ export type PropsType = {
editHistoryMessages: Array<MessagePropsType>;
getPreferredBadge: PreferredBadgeSelectorType;
i18n: LocalizerType;
platform: string;
kickOffAttachmentDownload: (options: {
attachment: AttachmentType;
messageId: string;
@ -70,6 +71,7 @@ export function EditHistoryMessagesModal({
getPreferredBadge,
editHistoryMessages,
i18n,
platform,
kickOffAttachmentDownload,
showLightbox,
}: PropsType): JSX.Element {
@ -100,6 +102,7 @@ export function EditHistoryMessagesModal({
containerElementRef={containerElementRef}
getPreferredBadge={getPreferredBadge}
i18n={i18n}
platform={platform}
key={messageAttributes.timestamp}
kickOffAttachmentDownload={kickOffAttachmentDownload}
showLightbox={closeAndShowLightbox}