Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Sep 18, 2023
1 parent b5cf966 commit a754421
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/Swaps/Orders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import {
CurrencyMetadata,
findBalance,
findCurrency,
getCurrencyChainId,
isSameCurrency,
parseCurrencyKey,
Rate,
} from '@centrifuge/centrifuge-js'
import { getCurrencyChainId } from '@centrifuge/centrifuge-js/dist/modules/liquidityPools'
import {
truncateAddress,
useBalances,
Expand Down
1 change: 1 addition & 0 deletions centrifuge-js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Centrifuge } from './Centrifuge'
export type { UserProvidedConfig } from './CentrifugeBase'
export * from './modules/liquidityPools'
export * from './modules/multisig'
export type { Collection, NFT } from './modules/nfts'
export * from './modules/pools'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function WalletDialog({
async function connect(wallet: Wallet | EvmConnectorMeta) {
try {
const accounts = await doConnect(wallet, selectedNetwork!)
if (accounts?.length! > 1) {
if (accounts?.length! > 1 && 'extensionName' in wallet) {
dispatch({ type: 'showWalletDialogAccounts' })
} else {
close()
Expand Down

0 comments on commit a754421

Please sign in to comment.