When the user navigates to a specific token (Eg. Ether) from the tokens page, the url shows 'tokens' twice. While on the default network (Ethereum) it still displays the token page for the token, on a different network (Eg. Optimism), a blank page is shown to the user.
Steps to reproduce
Change the network from Ethereum to any other network (Eg. Optimism)
Go to the tokens page
Click on a token to view the token details (Eg. Wrapped Ether)
A blank page is shown to the user.
The below screenshot is when navigating to a specific token on the Ethereum network from tokens page (The url shows 'tokens' twice but still displays the token details)
The below screenshot is when navigating from tokens page on other networks (The page breaks and a blank page is shown)
This PR fixes the following issue.
Issue
When the user navigates to a specific token (Eg. Ether) from the tokens page, the url shows 'tokens' twice. While on the default network (Ethereum) it still displays the token page for the token, on a different network (Eg. Optimism), a blank page is shown to the user.
Steps to reproduce
The below screenshot is when navigating to a specific token on the Ethereum network from tokens page (The url shows 'tokens' twice but still displays the token details)
The below screenshot is when navigating from tokens page on other networks (The page breaks and a blank page is shown)