Skip to content

Commit

Permalink
fix for metamask display
Browse files Browse the repository at this point in the history
  • Loading branch information
lolieatapple committed Oct 19, 2023
1 parent 1057348 commit 8acee29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export function filterProviderChecks(checks: string[]): string {
if (!!checks && checks.length) {
if (checks.length > 1) {
if (
checks[0] === injected.METAMASK.check ||
// checks[0] === injected.METAMASK.check ||
checks[0] === injected.CIPHER.check
) {
return checks[1];
Expand Down
14 changes: 7 additions & 7 deletions src/providers/injected/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ export const FALLBACK: IProviderInfo = {
// check: "isClover"
// };

export const METAMASK: IProviderInfo = {
id: "injected",
name: "MetaMask",
logo: MetaMaskLogo,
type: "injected",
check: "isMetaMask"
};
// export const METAMASK: IProviderInfo = {
// id: "injected",
// name: "MetaMask",
// logo: MetaMaskLogo,
// type: "injected",
// check: "isMetaMask"
// };

export const SAFE: IProviderInfo = {
id: "injected",
Expand Down

0 comments on commit 8acee29

Please sign in to comment.