Skip to content

Commit 886c32e

Browse files
author
Karthik B
authored
Render value of body in Message (#455)
- was missing the curly braces
1 parent f93c14b commit 886c32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Message/Message.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function Message(props: Props): JSX.Element | null {
3636
</div>
3737
)}
3838

39-
{typeof body === 'string' ? <p>body</p> : body}
39+
{typeof body === 'string' ? <p>{body}</p> : body}
4040

4141
{type === 'page' && pageButtons && pageButtons.length > 0 ? (
4242
<div className='tw-message--actions-container'>

0 commit comments

Comments
 (0)