You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Fix indentation
This commit is contained in:
@@ -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>
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user