NextJS id based routing is not working

I have built a site using nextjs 13.4 and deployed it on netlify, however when I click the links, the site is getting refreshed but id routing is not happening, i.e I am unable to route to Bright Intelli LLC when I click the link on my navbar, the other routes are working as expected, but id based routes are not working, they are causing a page refresh.

Interestingly the same site which I deployed on vercel is working as expected, id based routing works and so do other routes. this is the link for reference. Also it is working fine locally as well during development.

Both of them are deploying from the same codebase from github. I am not able to figure out the issue,

Please refer to: Netlify - Next.js - Link # - Support - Netlify Support Forums