Context and axios
Unanswered
Western thatching ant posted this in #help-forum
Western thatching antOP
I am using next 13.4 and I have 2 context files
<AdminProvider>
<UserProvider>
<Navbar />
<ToastContainer position="top-center" />
{children}
</UserProvider>
</AdminProvider>
I set axios interceptors with Authorization token for headers in these 2 files. Works fine locally but on production it does not send token for the context of AdminProvider
<AdminProvider>
<UserProvider>
<Navbar />
<ToastContainer position="top-center" />
{children}
</UserProvider>
</AdminProvider>
I set axios interceptors with Authorization token for headers in these 2 files. Works fine locally but on production it does not send token for the context of AdminProvider