Skip to content

Commit

Permalink
fix: hide option for extensionless providers
Browse files Browse the repository at this point in the history
  • Loading branch information
R committed Jun 16, 2023
1 parent 55dd787 commit fb0ccbb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-scripts": "5.0.1",
"styled-components": "^5.3.5",
"typescript": "^4.4.2",
"venom-connect": "1.0.21"
"venom-connect": "1.0.22"
},
"scripts": {
"start": "react-scripts start",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ const initVenomConnect = async () => {
},

// Setup
id: "mobile",
type: "mobile",
id: "extension",
type: "extension",
},
],
defaultWalletWaysToConnect: [
Expand Down
1 change: 1 addition & 0 deletions src/components/CardManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const CardManager = (props: CardManagerProps) => {

// вывод списка под разные платформы
if (connectorType) {
if (options?.["hide"]) return null; // hide card if option
if (isMobile) {
if (isIOS) {
return connectorType === "ios" ? (
Expand Down

0 comments on commit fb0ccbb

Please sign in to comment.