Skip to content

Commit

Permalink
check updated address
Browse files Browse the repository at this point in the history
  • Loading branch information
ebedoise committed Aug 1, 2024
1 parent 237a48f commit d03ff0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/wallet/pickWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import { envVars } from '@3shop/config';
const xaman = envVars['NETWORK'] === Network_Enum.Xrpledger;
export const useAccount = (...args: Parameters<typeof useRainbowAccount>) => {
if (xaman)
{
console.log('xaman: ', xaman);
console.log('useXamanAccount: ', useXamanAccount());
return useXamanAccount();
}
return useRainbowAccount(...args);
}

0 comments on commit d03ff0c

Please sign in to comment.