Commit b38ff3e2 authored by tom's avatar tom

fix contract source address selector

parent f4d0eadf
...@@ -60,7 +60,7 @@ const ContractSourceAddressSelector = ({ className, selectedItem, onItemSelect, ...@@ -60,7 +60,7 @@ const ContractSourceAddressSelector = ({ className, selectedItem, onItemSelect,
<Select <Select
options={ options } options={ options }
name="contract-source-address" name="contract-source-address"
defaultValue={ options[0].value } defaultValue={ selectedItem.address }
onChange={ handleItemSelect } onChange={ handleItemSelect }
isLoading={ isLoading } isLoading={ isLoading }
maxW={{ base: '180px', lg: 'none' }} maxW={{ base: '180px', lg: 'none' }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment