Skip to content

Commit

Permalink
Merge branch 'develop' into release/1.40.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stefashkaa committed Sep 11, 2024
2 parents 77721e2 + a3dd700 commit cb114bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkaswap-exchange-web",
"version": "1.40.0",
"version": "1.40.1",
"repository": {
"type": "git",
"url": "https://github.com/sora-xor/polkaswap-exchange-web.git"
Expand Down
2 changes: 0 additions & 2 deletions src/components/shared/Widget/Base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,6 @@ export default class BaseWidget extends Vue {
this.pipWindow.close();
this.pipOpened = false;
this.pipWindow = null;
} else {
console.info('PiP was never opened or already closed.');
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/utils/ethers-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let ethereumProvider!: any;
let ethersInstance: ethersProvider | null = null;

export enum Provider {
Fearless = 'Fearless',
// Fearless = 'Fearless',
Metamask = 'Metamask',
SubWallet = 'SubWallet',
TrustWallet = 'TrustWallet',
Expand Down Expand Up @@ -108,9 +108,9 @@ async function useExtensionProvider(provider: Provider): Promise<string> {
case Provider.TrustWallet:
ethereumProvider = injectedWindow.trustwallet;
break;
case Provider.Fearless:
ethereumProvider = injectedWindow.fearlessWallet;
break;
// case Provider.Fearless:
// ethereumProvider = injectedWindow.fearlessWallet;
// break;
default:
throw new Error('Unknown provider');
}
Expand Down

0 comments on commit cb114bb

Please sign in to comment.