I am learning Reactjs, and there is a problem when I try to use {Link} to go to external websites.
<Link to={repo.html_url}> {repo.name} </Link> Let's say the repo.html_url is
https://github.com/ningmeng7998/SmartER-Project-Android-Frontend.
Instead of taking me to this URL, it takes me to http://localhost:3000/profile/https://github.com/ningmeng7998/SmartER-Project-Android-Frontend, which adds localhost in front of it.
How to solve this problem?