Setting the provider as a global state

Hi,

I have Next.js 13 application and I put the web3auth related code inside the navigation bar, which is inside the root layout file. In order to call the functions everywhere in my application, I’m considering to set the web3auth provider as a redux-toolkit reducer. Is this behaviour OK? If not, what would you recommend?

Thanks in advance

Hi @shahbaz

Can you guide us about this issue?

Thanks

Your request has been forwarded to our team and we will get back with an update.

I use React CreateContext and UseContext and it is solved now! Thanks in advance!!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.