Skip to content

Commit 42f8f21

Browse files
committed
Merge branch 'fixKeys'
2 parents edaf7ba + 7d2ffeb commit 42f8f21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/defaultRenderFunctions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ const defaultRenderFunctions = {
4242

4343
s: (node, children, parents) => {
4444
return (
45-
<Text style={markdownStyles.strikethrough}>
45+
<Text key={AstRenderer.getUniqueID()} style={markdownStyles.strikethrough}>
4646
{children}
4747
</Text>
4848
);
4949
},
5050
a: (node, children, parents) => {
5151
return (
52-
<Text style={markdownStyles.a} onPress={() => AstRenderer.openUrl(node.attributes.href)}>
52+
<Text key={AstRenderer.getUniqueID()} style={markdownStyles.a} onPress={() => AstRenderer.openUrl(node.attributes.href)}>
5353
{children}
5454
</Text>
5555
);

0 commit comments

Comments
 (0)