yeah but when i am adding that property ux mode to redirect its giving me type error so where exactly how to integrate that property I have seen this already.
kindly help me with that
Hey, you can change the uxMode in the uiConifg. Please check the snippet below, also you haven’t shared any error and code snippet with uxMode redirect.
after updating to latest verison this is the issue coming
an d here is my basic initial setup"const privateKeyProvider = new SolanaPrivateKeyProvider({
config: { chainConfig: chainConfig },
});
this is wat I am doing but logs not coming after connect now I can connect in spearte tab but the neither error is coming nor the logs coming after the connect function @Ayush
Hey @muhammad.ahmed updating to latest version solved the issue, and I guess deleting node modules, and installing packages solved the other issue? What is the issue are you facing now? Do you mean, you are not able to connect, and move forward? Also, in the code snippet I can see you are connecting twice.
Can you please explain the issue, and if possible send screenshot, or recording.
The issue is when I use uxmode.redirect it does not executed after connect line . and hence it don’t go to getuserInfo and not able to redirect to dashboard
but when I don’t use it works as it should be .
Also, when it doesn’t redirected to dashboard and falls back to signup page, and now I execute that function again it takes me to dashboard because it is already connected but why the issue is occuring
@Ayush The issue when using uxmode.redirect it does not print anything after that
but when using normal it is working fine. what is the thing I am missing