mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Revert setting of key
This commit is contained in:
parent
9e71ba26c4
commit
71abd3aff8
1 changed files with 2 additions and 2 deletions
|
@ -190,11 +190,11 @@ export default class MessageComposerInput extends React.Component {
|
|||
const Pill = sdk.getComponent('elements.Pill');
|
||||
const {url} = Entity.get(entityProps.entityKey).getData();
|
||||
if (Pill.isPillUrl(url)) {
|
||||
return <Pill url={url} key={url} room={this.props.room} offsetKey={entityProps.offsetKey}/>;
|
||||
return <Pill url={url} room={this.props.room} offsetKey={entityProps.offsetKey}/>;
|
||||
}
|
||||
|
||||
return (
|
||||
<a href={url} key={url} data-offset-key={entityProps.offsetKey}>
|
||||
<a href={url} data-offset-key={entityProps.offsetKey}>
|
||||
{entityProps.children}
|
||||
</a>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue