Commit bcad742
committed
Avoid double slash in block explorer links
The Etherscan base URLs in `chains.ts` carry a trailing slash, so every
Ethereum link rendered as `etherscan.io//address/...`. Browsers tolerate
it, but the acreBTC and withdrawal queue links in the vault details
modal are specified without it. Normalises the prefix in
`createBlockExplorerLink` so all chains are handled the same way.1 parent 6be24ce commit bcad742
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments