Skip to content

Commit

Permalink
fix: bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
web3max committed Nov 2, 2023
1 parent 37459f9 commit 6aadf8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MessageTypes, SignTypedDataVersion, TypedDataUtils, TypedMessage } from
import { Buffer } from 'buffer'
import { CoinType, CustomWallet } from '../constant'
import GraphemeSplitter from 'grapheme-splitter'
import { isMobileOnly } from 'react-device-detect'
import { isMobile, isMobileOnly } from 'react-device-detect'
// @ts-expect-error
import abcCopy from 'abc-copy'
import UAParser from 'ua-parser-js'
Expand Down Expand Up @@ -386,7 +386,7 @@ export function getWalletDeepLink(walletName: string, displayUri: string): strin
}

export function openDeepLink(deepLink: string) {
if (!deepLink) {
if (!deepLink || !isMobile) {
return
}

Expand Down

0 comments on commit 6aadf8e

Please sign in to comment.