Skip to content

Commit dcc4387

Browse files
committed
chore: comment braavos mobile
1 parent 5f76a57 commit dcc4387

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/connectors/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import {
33
isInArgentMobileAppBrowser,
44
ArgentMobileConnector,
55
} from "starknetkit/argentMobile"
6-
import {
6+
/* import {
77
BraavosMobileConnector,
88
isInBraavosMobileAppBrowser,
9-
} from "starknetkit/braavosMobile"
9+
} from "starknetkit/braavosMobile" */
1010
import { InjectedConnector } from "starknetkit/injected"
1111
import { WebWalletConnector } from "starknetkit/webwallet"
1212

13-
const isMobileDevice = () => {
13+
/* const isMobileDevice = () => {
1414
if (typeof window === "undefined") {
1515
return false
1616
}
@@ -28,7 +28,7 @@ const isMobileDevice = () => {
2828
// Combine checks: Must match user agent AND (touch support OR small screen)
2929
return isMobileUA && (hasTouchSupport || isSmallScreen)
3030
}
31-
31+
*/
3232
export const availableConnectors = () => {
3333
if (isInArgentMobileAppBrowser()) {
3434
return [
@@ -42,9 +42,9 @@ export const availableConnectors = () => {
4242
]
4343
}
4444

45-
if (isInBraavosMobileAppBrowser()) {
45+
/* if (isInBraavosMobileAppBrowser()) {
4646
return [BraavosMobileConnector.init({})]
47-
}
47+
} */
4848

4949
return [
5050
new InjectedConnector({ options: { id: "argentX" } }),
@@ -56,7 +56,7 @@ export const availableConnectors = () => {
5656
chainId: CHAIN_ID,
5757
},
5858
}),
59-
isMobileDevice() ? BraavosMobileConnector.init({}) : null,
59+
/* isMobileDevice() ? BraavosMobileConnector.init({}) : null, */
6060
new WebWalletConnector({ url: ARGENT_WEBWALLET_URL }),
6161
].filter((connector) => connector !== null)
6262
}

0 commit comments

Comments
 (0)