Unfortunately, I think I can't really help with questions related to next.js, there @peintnermax or some members of the community are a better choice. Anyway I would suggest to describe the situation in more detail, so that there is enough information.