Open BlackEyesForThree opened 4 months ago
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!
Motivation
When a user needs to delete one of the sub account addresses, can this feature be added without a convenient delete button?![微信图片_20240510134613](https://github.com/FuelLabs/fuels-wallet/assets/22001924/58e3b75d-866b-40bd-9ade-7ae8eca68a10)
Usage example
No response
Possible implementations
No response