You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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“
The text was updated successfully, but these errors were encountered:
Hey, this accountChange feature depends on the implementation of the extension wallets (aka plugin wallet). Could you please tell me which wallet are you testing with?
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“
The text was updated successfully, but these errors were encountered: