From 67eaf33a5457e09afb8165d7d60eeb425c2206ff Mon Sep 17 00:00:00 2001 From: Pawel-Szydlo Date: Wed, 25 Sep 2024 15:40:24 +0200 Subject: [PATCH] Removal of the isMobile check in Nightly --- packages/nightly/src/lib/nightly.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/nightly/src/lib/nightly.ts b/packages/nightly/src/lib/nightly.ts index 88ec87bac..d31f69006 100644 --- a/packages/nightly/src/lib/nightly.ts +++ b/packages/nightly/src/lib/nightly.ts @@ -11,7 +11,6 @@ import type { } from "@near-wallet-selector/core"; import { waitFor } from "@near-wallet-selector/core"; import { signTransactions } from "@near-wallet-selector/wallet-utils"; -import { isMobile } from "is-mobile"; import type { Signer } from "near-api-js"; import * as nearAPI from "near-api-js"; import type { NearNightly, InjectedNightly } from "./injected-nightly"; @@ -260,11 +259,6 @@ export function setupNightly({ deprecated = false, }: NightlyWalletParams = {}): WalletModuleFactory { return async () => { - const mobile = isMobile(); - if (mobile) { - return null; - } - const installed = await isInstalled(); return {