[3] Promisify SendModal #2944
Labels
[1c] Task
Task for team member to perform. Description may contain a Task List and reference child Sub-Tasks
[2] Advanced Issue
Issue is a technically advanced or complex task. Requires prior knowledge
[3] Enhancement
Classification indicating a change to the functionality of the existing imlementation
[5c] Medium
Indicates size of task. Est. between two and four hours
I always feel that the
let account = ChainStore.getAccount(accountName);
is abusing the re-render and Promise premise. Very often you see afterwardsif (account)
which then triggers the rendering, but this needs a possibly never happening re-render of the component.I want the SendModal to use Promises in a proper way (e.g. through FetchChainObject or any of the other promisified functions). This issue is for refactoring accordingly.
The text was updated successfully, but these errors were encountered: