fuels-wallet
fuels-wallet copied to clipboard
Fuel wallet does not have a delete button
Motivation
When a user needs to delete one of the sub account addresses, can this feature be added without a convenient delete button?
Usage example
No response
Possible implementations
No response
Would like to help!
Thank you very much, so we can start adding the delete button. Used to delete excess addresses from wallet users and add secondary confirmation.
@BlackEyesForThree should i hide it when asked to delete?
Or should i remove the account from the accounts
array from useAccounts
?
@ameeetgaikwad It depends on the action; Deletion is only possible if the account is imported from a private account. For seed phrases, delete does not exist as accounts are just indexes, and this is why we use the wording hide account.
I think the button should be conditional; if it is from a seed phrase, we show hidden accounts. It it is from privateKey, show delete account.
@ameeetgaikwad It depends on the action; Deletion is only possible if the account is imported from a private account. For seed phrases, delete does not exist as accounts are just indexes, and this is why we use the wording hide account.
I think the button should be conditional; if it is from a seed phrase, we show hidden accounts. It it is from privateKey, show delete account.
got it!