fix missing return statement for event content

This commit is contained in:
Ajay Bura 2025-09-14 15:34:19 +05:30
parent 9da1d7bd77
commit 622e67d565

View file

@ -36,5 +36,5 @@ export function EventContent({ messageLayout, time, iconSrc, content }: EventCon
if (messageLayout === MessageLayout.Bubble) { if (messageLayout === MessageLayout.Bubble) {
return <BubbleLayout before={beforeJSX}>{msgContentJSX}</BubbleLayout>; return <BubbleLayout before={beforeJSX}>{msgContentJSX}</BubbleLayout>;
} }
<ModernLayout before={beforeJSX}>{msgContentJSX}</ModernLayout>; return <ModernLayout before={beforeJSX}>{msgContentJSX}</ModernLayout>;
} }