Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

fix: don't switch twice when selecting wallet on WalletSidebar #1302

Merged
merged 1 commit into from Jun 26, 2019

Commits on Jun 26, 2019

  1. fix: do not switch 2 times when selecting a wallet on WalletSidebar

    This measure avoids a subsequent race-condition that was pushing an additional
    entry to the navigation history. The result was that,, when navigating from the
    wallet page to the profiles section, the route was ignored.
    Since, it was trying to load a wallet page with no address, the router
    was redirecting to the wallets section. So the history was:
    
     1 - /wallets/:address
     2 - /profiles
     3 - /wallets/:address (address = null)
    j-a-m-l committed Jun 26, 2019
    Copy the full SHA
    7c8f3d3 View commit details
    Browse the repository at this point in the history