Skip to content

Commit 0b84e7b

Browse files
committed
remove unneeded style and spread operator
1 parent 3c2ba33 commit 0b84e7b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/components/ChannelPreview/ChannelPreviewMessage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const styles = StyleSheet.create({
2121
message: {
2222
flexShrink: 1,
2323
fontSize: 12,
24-
fontWeight: '400',
2524
},
2625
});
2726

src/components/Message/Message.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -812,10 +812,9 @@ const MessageWithContext = <
812812
if (handleRetry) {
813813
handleRetry(retryMessage);
814814
}
815-
await retrySendMessage({
816-
...retryMessage,
817-
updated_at: undefined,
818-
} as MessageResponse<At, Ch, Co, Me, Re, Us>);
815+
await retrySendMessage(
816+
retryMessage as MessageResponse<At, Ch, Co, Me, Re, Us>,
817+
);
819818
},
820819
icon: <SendUp pathFill={accent_blue} />,
821820
title: t('Resend'),

0 commit comments

Comments
 (0)