Skip to content

Commit b8ab7ee

Browse files
committed
fixed warnings
1 parent 0d45e3f commit b8ab7ee

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22

33
export const EtherscanLink = ({children}) => (
4-
<a href={`https://etherscan.io/address/${children}`} target="_blank">
4+
<a href={`https://etherscan.io/address/${children}`} target="_blank" rel="noopener noreferrer">
55
{children}
66
</a>
77
);

frontend/src/components/WithdrawModal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class WithdrawModal extends Component {
1515
}`}</div>
1616
<div>This is the developer address set for the scaffold.</div>
1717
<div>
18-
<a href={`https://${ETHEREUM_NETWORK}/tx/${this.props.withdrawModalInfo.transactionHash}`} target="_blank">
18+
<a href={`https://${ETHEREUM_NETWORK}/tx/${this.props.withdrawModalInfo.transactionHash}`} target="_blank" rel="noopener noreferrer">
1919
Visit this link to see the transaction on-chain.
2020
</a>
2121
</div>
@@ -36,7 +36,7 @@ class WithdrawModal extends Component {
3636
} else if (withdrawModalInfo.events && withdrawModalInfo.events.fundsDeposited) {
3737
return (
3838
<div>
39-
<a href={`https://${ETHEREUM_NETWORK}/tx/${this.props.withdrawModalInfo.transactionHash}`} target="_blank">
39+
<a href={`https://${ETHEREUM_NETWORK}/tx/${this.props.withdrawModalInfo.transactionHash}`} target="_blank" rel="noopener noreferrer">
4040
Congratulations your funds have deposited to your developer address. Visit this link to see the transaction
4141
on-chain.
4242
</a>

frontend/src/scenes/Landing.js

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from 'react';
2-
import { Button, Icon } from 'semantic-ui-react';
32

43
const Landing = () => {
54
return (
@@ -12,7 +11,7 @@ const Landing = () => {
1211
<a href="/about.html">About</a>
1312
<a href="/developer-portal.html">Developer Portal</a>
1413
<a href="/bug-bounty-program.html">Bug Bounty Program</a>
15-
<a href="https://blog.openfuture.io/" target="_blank">Blog</a>
14+
<a href="https://blog.openfuture.io/" target="_blank" rel="noopener noreferrer">Blog</a>
1615
<a href="/support.html">Support</a>
1716
</nav>
1817

@@ -28,17 +27,17 @@ const Landing = () => {
2827
<a href="/about.html">About</a>
2928
<a href="/developer-portal.html">Developer Portal</a>
3029
<a href="/bug-bounty-program.html">Bug Bounty Program</a>
31-
<a href="https://blog.openfuture.io/" target="_blank">Blog</a>
30+
<a href="https://blog.openfuture.io/" target="_blank" rel="noopener noreferrer">Blog</a>
3231
<a href="/support.html">Support</a>
3332
</div>
3433
<div className="soc-links">
35-
<a href="https://twitter.com/OpenPlatformICO" target="_blank">
34+
<a href="https://twitter.com/OpenPlatformICO" target="_blank" rel="noopener noreferrer">
3635
<img src="img/landing_new/Twitter.png" alt="Twitter"/>
3736
</a>
38-
<a href="https://www.facebook.com/OpenPlatformICO/" target="_blank">
37+
<a href="https://www.facebook.com/OpenPlatformICO/" target="_blank" rel="noopener noreferrer">
3938
<img src="img/landing_new/Facebook.png" alt="Facebook"/>
4039
</a>
41-
<a href="https://t.me/joinchat/FDNbh0M079p5fnfOHFEJaw" target="_blank">
40+
<a href="https://t.me/joinchat/FDNbh0M079p5fnfOHFEJaw" target="_blank" rel="noopener noreferrer">
4241
<img src="img/landing_new/Telegram.png" alt="Telegram"/>
4342
</a>
4443
</div>
@@ -98,13 +97,13 @@ const Landing = () => {
9897
<a href="/"><img src="img/landing_new/logo.svg" alt="logo"/></a>
9998
</div>
10099
<div className="social_links">
101-
<a href="https://twitter.com/OpenPlatformICO" target="_blank">
100+
<a href="https://twitter.com/OpenPlatformICO" target="_blank" rel="noopener noreferrer">
102101
<img src="img/landing_new/Twitter.png" alt="Twitter"/>
103102
</a>
104-
<a href="https://www.facebook.com/OpenPlatformICO/" target="_blank">
103+
<a href="https://www.facebook.com/OpenPlatformICO/" target="_blank" rel="noopener noreferrer">
105104
<img src="img/landing_new/Facebook.png" alt="Facebook"/>
106105
</a>
107-
<a href="https://t.me/joinchat/FDNbh0M079p5fnfOHFEJaw" target="_blank">
106+
<a href="https://t.me/joinchat/FDNbh0M079p5fnfOHFEJaw" target="_blank" rel="noopener noreferrer">
108107
<img src="img/landing_new/Telegram.png" alt="Telegram"/>
109108
</a>
110109
</div>

0 commit comments

Comments
 (0)