mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-24 00:54:02 -05:00
parent
19f2f35b33
commit
ba745ca99a
@ -131,17 +131,9 @@ export default class IconButton extends React.PureComponent {
|
|||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
|
|
||||||
if (href) {
|
if (href && !this.prop) {
|
||||||
return (
|
contents = (
|
||||||
<a
|
<a href={href} target='_blank' rel='noopener noreferrer'>
|
||||||
href={href}
|
|
||||||
aria-label={title}
|
|
||||||
title={title}
|
|
||||||
target='_blank'
|
|
||||||
rel='noopener noreferrer'
|
|
||||||
className={classes}
|
|
||||||
style={style}
|
|
||||||
>
|
|
||||||
{contents}
|
{contents}
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user