Skip to content

Commit c5daac3

Browse files
committed
fix(rules): typo in url rule
The local function is called openUrl, not openURL.
1 parent c026036 commit c5daac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export default (styles) => ({
217217
return createElement(Text, {
218218
key: state.key,
219219
style: styles.url,
220-
onPress: openURL(node.target)
220+
onPress: openUrl(node.target)
221221
}, output(node.content, state))
222222
}
223223
}

0 commit comments

Comments
 (0)