Check token reset, then Next.js

but it is empty.

We are seeing that the token value is not being populated on page load.

The code snippet above is making an API call to get the token value. However, it appears that the token value is not being populated and is resulting in an empty string.

The issue is that the token value is not being populated on page load.