Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 27a040d

Browse files
committed
Actually remove type cast
1 parent f3eb07d commit 27a040d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HtmlUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ export function topicToHtml(topic: string, htmlTopic?: string, ref?: React.Ref<H
642642

643643
let emojiBodyElements: ReturnType<typeof formatEmojis>;
644644
if (!isFormattedTopic && topicHasEmoji) {
645-
emojiBodyElements = formatEmojis(topic, false) as JSX.Element[];
645+
emojiBodyElements = formatEmojis(topic, false);
646646
}
647647

648648
return isFormattedTopic ?

0 commit comments

Comments
 (0)