diff --git a/package-lock.json b/package-lock.json index 2fe56d31..9d5c9c85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "simple-staking", - "version": "0.2.34", + "version": "0.2.35", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "simple-staking", - "version": "0.2.34", + "version": "0.2.35", "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@keystonehq/animated-qr": "^0.8.6", diff --git a/package.json b/package.json index 7d9e8ac2..d849223f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-staking", - "version": "0.2.34", + "version": "0.2.35", "private": true, "scripts": { "dev": "next dev", diff --git a/src/app/components/Modals/ConnectModal.tsx b/src/app/components/Modals/ConnectModal.tsx index 7ff42c9f..3bd37d67 100644 --- a/src/app/components/Modals/ConnectModal.tsx +++ b/src/app/components/Modals/ConnectModal.tsx @@ -102,7 +102,9 @@ export const ConnectModal: React.FC = ({ }; const buildInjectableWallet = (shouldDisplay: boolean, name: string) => { - if (!shouldDisplay) { + // NOTE: The 'OneKey (Browser)' special case here is a temporary solution + // while waiting for the OneKey wallet to release their fixes + if (!shouldDisplay || injectedWalletProviderName === "OneKey (Browser)") { return null; }