Merge pull request #257 from XRPLF/fix/account-select

Fixes #240.
This commit is contained in:
muzamil
2022-07-22 14:43:32 +05:30
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ const Select = forwardRef<any, Props>((props, ref) => {
...provided, ...provided,
color: colors.searchText, color: colors.searchText,
backgroundColor: backgroundColor:
state.isSelected || state.isFocused state.isFocused
? colors.activeLight ? colors.activeLight
: colors.dropDownBg, : colors.dropDownBg,
":hover": { ":hover": {

View File

@@ -206,7 +206,6 @@ export const SetHookDialog: React.FC<{ accountAddress: string }> = React.memo(
<Select <Select
instanceId="deploy-account" instanceId="deploy-account"
placeholder="Select account" placeholder="Select account"
hideSelectedOptions
options={accountOptions} options={accountOptions}
value={selectedAccount} value={selectedAccount}
onChange={(acc: any) => setSelectedAccount(acc)} onChange={(acc: any) => setSelectedAccount(acc)}