Skip to content

NFT list from one wallet remains when connecting another wallet #201

@ghost

Description

This issue is directly realted to #199 . It appears that there are artifacts cached in the browser and React/Node is not clearing information quickly enough.

Initial Notes:

  • I have 2 wallets on L2: Android Smart Wallet and MetaMask
  • Due to testing, I switch between them some times to check various items

Repro:

  1. Connect Android Wallet to loopring.io and unlock
  2. Go to L2 Wallet > My NFT
    OBSERVE: I can view the NFTs from my Smart Wallet
  3. Click wallet address in top-right to disconnect
  4. Connect MetaMask wallet and unlock

Expected:
Once unlocked, I am presented with the My NFT page and the NFTs from my MetaMask wallet

Actual:
Once unlocked, I am presented with the My NFT page, but it is populated with NFTs from my Smart Wallet

Notes:

  • Some times, the old NFT list stays on screen indefinitely until you click something or refresh the page. Most often you see the old NFT list for a second or two before it refreshes itself.
  • I swap between these two wallets somewhat often, just for testing and checking various things.
  • Even if I refresh the page inbetween Step 3 and Step 4, I can still see the NFTs from my Android Wallet after connecting MetaMask.
  • The only way to avoid this is to CTRL+F5 refresh (clear cookies/cache) or close the browser entirely before connecting MetaMask

GIF Example of this occurring

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions