Skip to content

Commit 805b0d6

Browse files
committed
chore: remove redundant code
1 parent 3e21b39 commit 805b0d6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import type {
1414
StarknetkitConnector,
1515
ConnectorData,
1616
} from "./connectors"
17-
import { DEFAULT_WEBWALLET_URL } from "./connectors/webwallet/constants"
1817

1918
import { ArgentMobileBaseConnector } from "./connectors/argent/argentMobile"
2019
import { defaultConnectors } from "./helpers/defaultConnectors"
@@ -73,9 +72,6 @@ export const connect = async ({
7372
skipEmit = false,
7473
...restOptions
7574
}: ConnectOptionsWithConnectors | ConnectOptions): Promise<ModalResult> => {
76-
const { webWalletUrl = DEFAULT_WEBWALLET_URL, argentMobileOptions } =
77-
restOptions as ConnectOptions
78-
7975
const { connectors } = restOptions as ConnectOptionsWithConnectors
8076

8177
// force null in case it was disconnected from mobile app

0 commit comments

Comments
 (0)