How to access react nextjs app's state in axios client?

I am learning react js and I have checked many blogs but did not found how to access the state in axios client file, and app is in nextjs

You need first to understand how Redux works, take some training from the official documentation, from the basics to the advanced topics, there you can find the asynchronous actions.