Skip to content

Commit

Permalink
Merge branch 'master' into @daniel/pol-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
derHowie authored Sep 13, 2024
2 parents 7eb159f + 09bb6aa commit 2ed9c6b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/entries/popup/pages/swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,9 @@ export function Swap({ bridge = false }: { bridge?: boolean }) {
}
setAssetToSellInputValue={setAssetToSellInputValue}
inputRef={assetToSellInputRef}
openDropdownOnMount={inputToOpenOnMount === 'sell'}
openDropdownOnMount={
inputToOpenOnMount === 'sell' && !assetToSell
}
assetToSellNativeValue={assetToSellNativeValue}
assetToSellNativeDisplay={assetToSellNativeDisplay}
setAssetToSellInputNativeValue={
Expand Down Expand Up @@ -881,7 +883,9 @@ export function Swap({ bridge = false }: { bridge?: boolean }) {
assetToSellValue={assetToSellValue}
setAssetToBuyInputValue={setAssetToBuyInputValue}
inputRef={assetToBuyInputRef}
openDropdownOnMount={inputToOpenOnMount === 'buy'}
openDropdownOnMount={
inputToOpenOnMount === 'buy' && !assetToBuy
}
inputDisabled={isCrosschainSwap}
assetToBuyNativeDisplay={assetToBuyNativeDisplay}
assetToSellNativeDisplay={assetToSellNativeDisplay}
Expand Down

0 comments on commit 2ed9c6b

Please sign in to comment.