GA Button 调整
This commit is contained in:
parent
5772f5db35
commit
be651d0467
|
@ -4,7 +4,7 @@ import '../Qrcode.css';
|
||||||
import {handleLink} from "../../utils/gaHelper";
|
import {handleLink} from "../../utils/gaHelper";
|
||||||
|
|
||||||
const LinkButton = ({ href, value }) => (
|
const LinkButton = ({ href, value }) => (
|
||||||
<a onClick={ (e) => handleLink(e.target.href) } href={href} rel="noopener noreferrer" target="_blank">
|
<a onClick={ (e) => handleLink(href) } href={href} rel="noopener noreferrer" target="_blank">
|
||||||
<button className="dl-btn">{value}</button>
|
<button className="dl-btn">{value}</button>
|
||||||
</a>
|
</a>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue