Skip to content

Commit

Permalink
Update apps/wallet-mobile/src/features/ReviewTx/common/ExplorerInfoLi…
Browse files Browse the repository at this point in the history
…nks.tsx

Co-authored-by: Juliano Lazzarotto <[email protected]>
Signed-off-by: banklesss <[email protected]>
  • Loading branch information
banklesss and stackchain authored Nov 6, 2024
1 parent 7957024 commit 7e213b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const ExplorerInfoLinks = ({id, type}: {id: string; type: 'token' | 'pool
const {wallet} = useSelectedWallet()
const strings = useStrings()

const handleOpenLink = async (direction: 'cardanoscan' | 'adaex') => {
const handleOpenLink = async (explorer: Explorers.Explorer) => {

Check failure on line 14 in apps/wallet-mobile/src/features/ReviewTx/common/ExplorerInfoLinks.tsx

View workflow job for this annotation

GitHub Actions / check

'explorer' is defined but never used. Allowed unused args must match /^_/u
if (id == null) return
if (direction === 'cardanoscan') {
await Linking.openURL(wallet.networkManager.explorers.cardanoscan[type](id))
Expand Down

0 comments on commit 7e213b4

Please sign in to comment.