1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-06-16 13:09:02 +00:00

Fixed link dom props

This commit is contained in:
Vladimir Volek 2018-11-21 14:09:40 +01:00 committed by Szymon Lesisz
parent 90c266349d
commit b151c9715b
2 changed files with 3 additions and 6 deletions

View File

@ -55,13 +55,10 @@ class Link extends PureComponent {
} else { } else {
LinkComponent = ( LinkComponent = (
<A <A
className={this.props.className}
href={this.props.href} href={this.props.href}
target={this.props.target || '_blank'} target={this.props.target || '_blank'}
rel="noreferrer noopener" rel="noreferrer noopener"
onClick={this.props.onClick} {...this.props}
isGreen={this.props.isGreen}
isGray={this.props.isGray}
>{this.props.children} >{this.props.children}
</A> </A>
); );