-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
Failing tests. |
Fixed test (and added 2 actually) |
@observable balances = {}; | ||
@observable localHashes = []; | ||
|
||
constructor (api, withLocalTransactions = false) { | ||
externalLink = ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer _externalLink
for non-exposed internal variables, i.e. no observable. (As per rest of the class)
const { accounts } = initState.personal; | ||
const accountAddresses = Object.keys(accounts); | ||
|
||
return () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not a simple
return {
accountAddresses
};
(As opposed to the function?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's only so it doesn't re-render on every Redux dispatched action (since the same Object is thus returned)
I'm just wondering if (I may be going blind) |
It's mainly for the embedded Parity Bar for the Chrome Extension ! ;) |
Closes #4314
In Signer and Transaction lists, redirect the links to Parity UI and not Etherscan