We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b442524 commit d29f873Copy full SHA for d29f873
src/hooks/use-tcr-network.js
@@ -22,7 +22,10 @@ const useTcrNetwork = () => {
22
23
setNetworkStatus(status => {
24
if (status !== NETWORK_STATUS.swtiching && tcrAddress) {
25
- history.push(`/tcr/${chainId}/${tcrAddress}`)
+ setTimeout(() => {
26
+ history.push(`/tcr/${chainId}/${tcrAddress}`)
27
+ window.location.reload()
28
+ })
29
return NETWORK_STATUS.supported
30
} else return NETWORK_STATUS.unsupported
31
})
0 commit comments