diff --git a/__tests__/__snapshots__/Storyshots.test.js.snap b/__tests__/__snapshots__/Storyshots.test.js.snap index 84c23537a..be964795e 100644 --- a/__tests__/__snapshots__/Storyshots.test.js.snap +++ b/__tests__/__snapshots__/Storyshots.test.js.snap @@ -39301,44 +39301,17 @@ exports[`Storyshots Message list message 1`] = ` Object { "backgroundColor": "transparent", "fontFamily": "System", - "fontSize": 16, + "fontSize": 14, "fontWeight": "400", "textAlign": "left", }, - undefined, Object { "color": "#2f343d", }, ] } > - - Value 1 - + Value 1 - - Value 2 - + Value 2 - - Value 3 - + Value 3 - - Value 4 - + Value 4 - - Value 5 - + Value 5 @@ -39676,7 +39541,7 @@ exports[`Storyshots Message list message 1`] = ` ] } > - Two short custom fields with markdown + Two short custom fields - - Value 1 - + Value 1 - - - Value 2 - - + Value 2 @@ -40402,44 +40191,17 @@ exports[`Storyshots Message list message 1`] = ` Object { "backgroundColor": "transparent", "fontFamily": "System", - "fontSize": 16, + "fontSize": 14, "fontWeight": "400", "textAlign": "left", }, - undefined, Object { "color": "#2f343d", }, ] } > - - Value 1 - + Value 1 - - Value 2 - + Value 2 diff --git a/app/containers/message/Reply.js b/app/containers/message/Reply.js index caa80039a..d05668ddb 100644 --- a/app/containers/message/Reply.js +++ b/app/containers/message/Reply.js @@ -112,24 +112,16 @@ const Description = React.memo(({ return true; }); -const Fields = React.memo(({ attachment, theme, getCustomEmoji }) => { +const Fields = React.memo(({ attachment, theme }) => { if (!attachment.fields) { return null; } - - const { baseUrl, user } = useContext(MessageContext); return ( {attachment.fields.map(field => ( {field.title} - + {field.value} ))} @@ -184,11 +176,7 @@ const Reply = React.memo(({ getCustomEmoji={getCustomEmoji} theme={theme} /> - + { }]} /> - + { short: true }, { title: 'Field 2', - value: '[Value 2](https://google.com/)', + value: 'Value 2', short: true }] }, { @@ -734,7 +734,7 @@ export default ({ theme }) => { short: true }, { title: 'Field 2', - value: '**Value 2**', + value: 'Value 2', short: true }] }]}