Known exchanges}
list={exchanges}
value={nextExchange}
name="switchingExchange"
onChange={setNextExchange}
/>
{
if (nextExchange !== undefined) {
onSwitchExchange(nextExchange);
}
setSwitchingExchange(false);
}}
>
{nextExchange === undefined ? (
Cancel exchange selection
) : (
Confirm exchange selection
)}
) : (