prefilling to field with logged in username for staking

This commit is contained in:
Nouman Tahir 2023-01-09 13:01:59 +05:00
parent f393272534
commit 1d34e8e9d7

View File

@ -46,7 +46,8 @@ const TransferView = ({
transferType === 'withdraw_hive' ||
transferType === 'withdraw_hbd' ||
transferType === 'convert' ||
transferType === 'unstake_engine'
transferType === transferTypes.UNSTAKE_ENGINE ||
transferType === transferTypes.STAKE_ENGINE
? currentAccountName
: transferType === 'purchase_estm'
? 'esteem.app'
@ -62,7 +63,8 @@ const TransferView = ({
transferType === 'withdraw_vesting' ||
transferType === 'withdraw_hive' ||
transferType === 'withdraw_hbd' ||
transferType === 'unstake_engine' ||
transferType === transferTypes.UNSTAKE_ENGINE ||
transferType === transferTypes.STAKE_ENGINE ||
(transferType === 'convert' && currentAccountName)
),
);