File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
static/app/debug/notifications Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export function DebugNotificationsExample({
5555 Body
5656 </ Text >
5757 { displayFormat === ExampleDataFormat . FORMATTED ? (
58- < Text > { registration . example . body } </ Text >
58+ < Text > { JSON . stringify ( registration . example . body ) } </ Text >
5959 ) : (
6060 < CodeBlock language = "javascript" >
6161 { JSON . stringify ( registration . example . body ) }
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export function DiscordPreview({
4646 < DiscordWhiteText size = "md" bold >
4747 { subject }
4848 </ DiscordWhiteText >
49- < DiscordWhiteText size = "sm" > { body } </ DiscordWhiteText >
49+ < DiscordWhiteText size = "sm" > { JSON . stringify ( body ) } </ DiscordWhiteText >
5050 { chart && (
5151 < DiscordChart
5252 height = "100px"
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export function SlackPreview({
5454 < SlackBlackText size = "xl" bold >
5555 { subject }
5656 </ SlackBlackText >
57- < SlackBodyText > { body } </ SlackBodyText >
57+ < SlackBodyText > { JSON . stringify ( body ) } </ SlackBodyText >
5858 < Flex gap = "xs" >
5959 { actions . map ( action => (
6060 < SlackLinkButton key = { action . label } href = { action . link } >
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export function TeamsPreview({
7575 < TeamsBlackText size = "xl" bold >
7676 { subject }
7777 </ TeamsBlackText >
78- < TeamsBlackText > { body } </ TeamsBlackText >
78+ < TeamsBlackText > { JSON . stringify ( body ) } </ TeamsBlackText >
7979 < Flex gap = "md" >
8080 { actions . map ( action => (
8181 < TeamsLinkButton key = { action . label } href = { action . link } >
You can’t perform that action at this time.
0 commit comments