We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e425437 commit 7ef2096Copy full SHA for 7ef2096
source/renderer/app/analytics/getCustomDimensions.ts
@@ -17,10 +17,9 @@ export const getCustomDimensions = async (
17
environment: Environment,
18
adaApi: AdaApi
19
) => {
20
- const usesByronWallets = (await adaApi.getWallets()).some(
21
- (wallet) => wallet.isLegacy
22
- );
23
- const usesHardwareWallets = (await adaApi.getWallets()).some(
+ const userWallets = await adaApi.getWallets();
+ const usesByronWallets = userWallets.some((wallet) => wallet.isLegacy);
+ const usesHardwareWallets = userWallets.some(
24
(wallet) => wallet.isHardwareWallet
25
);
26
0 commit comments