Fix indentation

pull/21833/head
Luke Barnard 2017-07-13 13:47:08 +01:00
parent 5826b6f22a
commit f1a4209d6b
1 changed files with 5 additions and 5 deletions

View File

@ -164,13 +164,13 @@ export default class MessageComposerInput extends React.Component {
const decorators = richText ? RichText.getScopedRTDecorators(this.props) :
RichText.getScopedMDDecorators(this.props);
decorators.push({
strategy: this.findLinkEntities.bind(this),
component: (props) => {
strategy: this.findLinkEntities.bind(this),
component: (props) => {
const {url} = Entity.get(props.entityKey).getData();
return (
<a href={url}>
{props.children}
</a>
<a href={url}>
{props.children}
</a>
);
},
});