From 7a95ee25940a20bcf0c54ee58d9907db9c67d770 Mon Sep 17 00:00:00 2001 From: Michael Hsu Date: Mon, 12 Jun 2017 11:00:36 +0800 Subject: [PATCH] fix(addons/info): Cannot read property 'props' of undefined fix(addons/info): Cannot read property 'props' of undefined --- addons/info/src/components/markdown/text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/info/src/components/markdown/text.js b/addons/info/src/components/markdown/text.js index f3385a4248ad..3b20c6608fc4 100644 --- a/addons/info/src/components/markdown/text.js +++ b/addons/info/src/components/markdown/text.js @@ -42,7 +42,7 @@ export function A(props) { const style = { color: '#3498db', }; - return {props.children}; + return {props.children}; } A.defaultProps = defaultProps;