f3b85b2aae
* Remove unused imports. * Create and use .toPrecision forwarding method for `Unit` * Error handling when unlocking trezor devices. * Use translateRaw to fulfill string req; * - Refactor rates actions and action creators to use standard network request state pattern (REQUESTED / SUCCE - Only Request Rates once AccountInfo Component has mounted, instead of upon saga instantiation (uneeded overhead). This allows also us to issue subsequent fiat rates requests to update the "equivalent values" should the users session persist. - Show '???' as account balance when balance is null - Wallet initial state with balance as null instead of 0. We don't actually know what the balance is, and we shouldn't have 0 as a default as this may confuse users and doesn't accurately reflect their balance. * - Display 'No rates were loaded.' in EquivalentValues when rates are null, instead of nothing. - Remove unneeded imports. * Remove unneeded imports and reformat. * Fix error messaging (show error message instead of error Object) * remove console.log * inform flow how silly it is being * fix wallet test to reflect balance being null by default * figure out way to have flow understand that rates will not be undefined * open external links in new tab * handle case where balance is null in equivalanet values |
||
---|---|---|
.. | ||
actions | ||
libs | ||
mocks | ||
reducers | ||
sagas | ||
utils |