wallet-kit icon indicating copy to clipboard operation
wallet-kit copied to clipboard

This event is invalid.”accountChange“

Open W123-T opened this issue 5 months ago • 1 comments

useEffect(() => { if (suiWalletObj?.connected) { suiWalletObj.on('accountChange', () => { suiQueryState() }) suiWalletObj.on('chainChange', () => { suiQueryState() }) } }, [suiQueryState, suiWalletObj]) I switched wallet addresses in the plugin wallet, and it seems that it won't trigger the "accountant change" operation, while switching environments will trigger the "chain change" operation This event is invalid.”accountChange“

W123-T avatar Sep 23 '24 03:09 W123-T