|
|
@ -241,22 +241,23 @@ export default function BuildQuote ({ |
|
|
|
<div className="build-quote__dropdown-swap-to-header"> |
|
|
|
<div className="build-quote__dropdown-swap-to-header"> |
|
|
|
<div className="build-quote__input-label">{t('swapSwapTo')}</div> |
|
|
|
<div className="build-quote__input-label">{t('swapSwapTo')}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<DropdownSearchList |
|
|
|
<div className="dropdown-input-pair dropdown-input-pair__to"> |
|
|
|
startingItem={selectedToToken} |
|
|
|
<DropdownSearchList |
|
|
|
itemsToSearch={tokensToSearch} |
|
|
|
startingItem={selectedToToken} |
|
|
|
searchPlaceholderText={t('swapSearchForAToken')} |
|
|
|
itemsToSearch={tokensToSearch} |
|
|
|
fuseSearchKeys={fuseSearchKeys} |
|
|
|
searchPlaceholderText={t('swapSearchForAToken')} |
|
|
|
selectPlaceHolderText={t('swapSelectAToken')} |
|
|
|
fuseSearchKeys={fuseSearchKeys} |
|
|
|
maxListItems={30} |
|
|
|
selectPlaceHolderText={t('swapSelectAToken')} |
|
|
|
onSelect={onToSelect} |
|
|
|
maxListItems={30} |
|
|
|
loading={loading && (!tokensToSearch?.length || !topAssets || !Object.keys(topAssets).length)} |
|
|
|
onSelect={onToSelect} |
|
|
|
externallySelectedItem={selectedToToken} |
|
|
|
loading={loading && (!tokensToSearch?.length || !topAssets || !Object.keys(topAssets).length)} |
|
|
|
hideItemIf={hideDropdownItemIf} |
|
|
|
externallySelectedItem={selectedToToken} |
|
|
|
listContainerClassName="build-quote__open-to-dropdown" |
|
|
|
hideItemIf={hideDropdownItemIf} |
|
|
|
hideRightLabels |
|
|
|
listContainerClassName="build-quote__open-to-dropdown" |
|
|
|
defaultToAll |
|
|
|
hideRightLabels |
|
|
|
|
|
|
|
defaultToAll |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div className="build-quote__slippage-buttons-container"> |
|
|
|
<div className="build-quote__slippage-buttons-container"> |
|
|
|
<SlippageButtons |
|
|
|
<SlippageButtons |
|
|
|
onSelect={(newSlippage) => { |
|
|
|
onSelect={(newSlippage) => { |
|
|
|