Skip to content

Commit

Permalink
fix(addons/info): Cannot read property 'props' of undefined
Browse files Browse the repository at this point in the history
fix(addons/info): Cannot read property 'props' of undefined
  • Loading branch information
evenchange4 authored Jun 12, 2017
1 parent a81283f commit 7a95ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/info/src/components/markdown/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function A(props) {
const style = {
color: '#3498db',
};
return <a href={this.props.href} style={style}>{props.children}</a>;

This comment has been minimized.

Copy link
@thomasbertet

thomasbertet Jun 13, 2017

Contributor

👍

return <a href={props.href} style={style}>{props.children}</a>;
}

A.defaultProps = defaultProps;
Expand Down

0 comments on commit 7a95ee2

Please sign in to comment.