File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/cowswap-frontend/src/modules/tradeQuote/state Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { atom } from 'jotai'
22
33import { getCurrencyAddress } from '@cowprotocol/common-utils'
4- import { QuoteAndPost } from '@cowprotocol/cow-sdk'
4+ import { getAddressKey , QuoteAndPost } from '@cowprotocol/cow-sdk'
55import { BridgeProviderQuoteError , BridgeQuoteResults } from '@cowprotocol/sdk-bridging'
66
77import { isProviderNetworkUnsupportedAtom } from 'entities/common/isProviderNetworkUnsupported.atom'
@@ -83,5 +83,5 @@ export const currentTradeQuoteAtom = atom<TradeQuoteState>((get) => {
8383 return DEFAULT_TRADE_QUOTE_STATE
8484 }
8585
86- return tradeQuotes [ getCurrencyAddress ( inputCurrency ) . toLowerCase ( ) ] || DEFAULT_TRADE_QUOTE_STATE
86+ return tradeQuotes [ getAddressKey ( getCurrencyAddress ( inputCurrency ) ) ] || DEFAULT_TRADE_QUOTE_STATE
8787} )
You can’t perform that action at this time.
0 commit comments