We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edaf7ba + 7d2ffeb commit 42f8f21Copy full SHA for 42f8f21
lib/defaultRenderFunctions.js
@@ -42,14 +42,14 @@ const defaultRenderFunctions = {
42
43
s: (node, children, parents) => {
44
return (
45
- <Text style={markdownStyles.strikethrough}>
+ <Text key={AstRenderer.getUniqueID()} style={markdownStyles.strikethrough}>
46
{children}
47
</Text>
48
);
49
},
50
a: (node, children, parents) => {
51
52
- <Text style={markdownStyles.a} onPress={() => AstRenderer.openUrl(node.attributes.href)}>
+ <Text key={AstRenderer.getUniqueID()} style={markdownStyles.a} onPress={() => AstRenderer.openUrl(node.attributes.href)}>
53
54
55
0 commit comments