Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit 5a8a361

Browse files
author
Gabriel Cardona
committed
Merge branch 'stage' of github.com:Bitcoin-com/developer.bitcoin.com into stage
2 parents 52d033c + c8ff0ea commit 5a8a361

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/bch-faucet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,15 @@ class BchFaucet extends React.PureComponent<Props, State> {
169169
}
170170
}
171171

172-
showLink(txid) {
172+
showLink(txid: string) {
173173
this.setState(prevState => ({
174174
linkOn: true,
175-
linkAddr: `https://www.blocktrail.com/tBCC/tx/${txid}`,
175+
linkAddr: `https://explorer.bitcoin.com/tbch/tx/${txid}`,
176176
}))
177177
}
178178

179179
// Add another line to the output.
180-
addOutput = str => {
180+
addOutput = (str: string) => {
181181
this.setState(prevState => ({
182182
outputText: prevState.outputText + `\n${str}`,
183183
}))

src/components/whc-faucet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ class BchFaucet extends React.PureComponent<Props, State> {
174174
}
175175
}
176176

177-
showLink(txid) {
177+
showLink(txid: string) {
178178
this.setState(prevState => ({
179179
linkOn: true,
180-
linkAddr: `https://www.blocktrail.com/tBCC/tx/${txid}`,
180+
linkAddr: `https://explorer.bitcoin.com/tbch/tx/${txid}`,
181181
}))
182182
}
183183

0 commit comments

Comments
 (0)