diff --git a/ui/app/AppLayouts/Profile/Sections/Ens/RegisterENSModal.qml b/ui/app/AppLayouts/Profile/Sections/Ens/RegisterENSModal.qml index a68fcf9352..d50fda2d11 100644 --- a/ui/app/AppLayouts/Profile/Sections/Ens/RegisterENSModal.qml +++ b/ui/app/AppLayouts/Profile/Sections/Ens/RegisterENSModal.qml @@ -98,7 +98,7 @@ ModalPopup { visible: false accounts: walletModel.accounts contacts: profileModel.addedContacts - selectedRecipient: { "address": profileModel.ens.ensRegisterAddress, "type": RecipientSelector.Type.Address } ////////////////////////////// + selectedRecipient: { "address": profileModel.ens.ensRegisterAddress, "type": RecipientSelector.Type.Address } readOnly: true onSelectedRecipientChanged: gasSelector.estimateGas() } @@ -156,9 +156,7 @@ ModalPopup { "symbol": "ETH", "fiatValue": gasSelector.selectedGasFiatValue } - toAccount: { - return selectRecipient.selectedRecipient - } + toAccount: selectRecipient.selectedRecipient asset: root.asset currency: walletModel.defaultCurrency amount: { @@ -218,7 +216,6 @@ ModalPopup { label: qsTr("Next") disabled: !stack.currentGroup.isValid onClicked: { - const isValid = stack.currentGroup.validate() if (stack.currentGroup.validate()) { if (stack.isLastGroup) { @@ -236,4 +233,3 @@ Designer { D{i:0;autoSize:true;height:480;width:640} } ##^##*/ -