mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 06:50:28 +03:00
fix missing return statement for event content
This commit is contained in:
parent
9da1d7bd77
commit
622e67d565
1 changed files with 1 additions and 1 deletions
|
|
@ -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>;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue