Recently we upgraded the application's react version from V16 to V17 after that we are getting this warning in the console when developing the application on dev env locally.
Warning: Did not expect server HTML to contain a <nav> in <div>.
After seeing the same issue on stack overflow it seems like this issue is related to the content that is being rendered being different before we hydrate it for SSR.
But I'm not able to find the exact solution for that so I'm seeking help from the community.
