diff options
Diffstat (limited to 'packages/website/ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index b6a02f253..eaf1d43cc 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -315,7 +315,7 @@ export const utils = { parsedProviderName = 'METAMASK'; } else if (provider.constructor.name === 'EthereumProvider') { parsedProviderName = 'MIST'; - } else if (provider.constructor.name === 'o') { + } else if ((provider as any).isParity) { parsedProviderName = 'PARITY'; } return parsedProviderName; |