Commit 062a79b6023149b8244a20d0a5b597ccf3f0dce8
dx: tiny performance fix in MarkdownDialog
Andre Staltz committed on 12/3/2020, 5:21:18 PMParent: cadaf1e5a9d6dc41d9639bf81476cbe28c445f2a
Files changed
src/frontend/components/dialogs/MarkdownDialog.ts | changed |
src/frontend/components/dialogs/MarkdownDialog.ts | ||
---|---|---|
@@ -71,9 +71,9 @@ | ||
71 | 71 | const {title, content} = this.props; |
72 | 72 | return $(Dialog, {key: 'dialog'}, [ |
73 | 73 | $(View, {key: 'content', style: styles.content}, [ |
74 | 74 | title ? $(Text, {key: 'title', style: styles.title}, title) : null, |
75 | - $(Markdown, {text: content}), | |
75 | + $(Markdown, {key: 'md', text: content}), | |
76 | 76 | ]), |
77 | 77 | $(DialogButton, { |
78 | 78 | key: 'button', |
79 | 79 | onPress: this.onOkay, |
Built with git-ssb-web