Browse Source
Merge pull request #407 from LN-Zap/feature/link-pending-and-closing-channels-to-explorer
feature(external block explorer link): change icon to external link a…
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
3 deletions
-
app/components/Contacts/Network.js
|
|
@ -2,8 +2,8 @@ import React, { Component } from 'react' |
|
|
|
import PropTypes from 'prop-types' |
|
|
|
import find from 'lodash/find' |
|
|
|
import Isvg from 'react-inlinesvg' |
|
|
|
import { FaAngleDown, FaCircle, FaRepeat } from 'react-icons/lib/fa' |
|
|
|
import { btc } from 'utils' |
|
|
|
import { FaExternalLink, FaCircle, FaRepeat, FaAngleDown } from 'react-icons/lib/fa' |
|
|
|
import { btc, blockExplorer } from 'utils' |
|
|
|
import plus from 'icons/plus.svg' |
|
|
|
import search from 'icons/search.svg' |
|
|
|
|
|
|
@ -223,7 +223,10 @@ class Network extends Component { |
|
|
|
</span> |
|
|
|
<span>{displayNodeName(channel)}</span> |
|
|
|
{ |
|
|
|
selectedChannel === channel && <span><FaAngleDown /></span> |
|
|
|
selectedChannel === channel && |
|
|
|
<span onClick={() => blockExplorer.showTransaction(channel.channel_point.split(':')[0])}> |
|
|
|
<FaExternalLink /> |
|
|
|
</span> |
|
|
|
} |
|
|
|
</section> |
|
|
|
|
|
|
|