Skip to content

Commit

Permalink
fix: 🐛 fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSegullo committed Jun 6, 2024
1 parent 8529f73 commit 42b64c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web/modals/wallet-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,8 @@ const RightModalContent: FunctionComponent<
const show1CT =
hasInstalledWallets &&
featureFlags.oneClickTrading &&
walletRepo?.chainRecord.chain.chain_name === chainStore.osmosis.chainName;
walletRepo?.chainRecord?.chain?.chain_name ===
chainStore.osmosis.chainName;

const currentWallet = walletRepo?.current;
const walletInfo = currentWallet?.walletInfo ?? lazyWalletInfo;
Expand Down

0 comments on commit 42b64c7

Please sign in to comment.