I'm encountering a strange issue with a link in a Next.js component that leads to a profile/:id page:
<Typography style={linkStyles} variant='body2' color='text.secondary'>
<Link href={user.website}>
<a target='_blank'>{user.website}</a>
</Link>;
</Typography>
The URL path currently looks like
https://localhost:3000/users/someid
But when I click on a user's website link, such as www.test-site.com
,
The path unexpectedly changes to
https://localhost:3000/users/www.test-site.com
Any insights into why this might be happening?