In a React component I want to show a link. That link's url comes from props. In a browser dev tool tag's href shows correct url but on hover it shows something different. Actually it's a combination of my project main url and the url I want to show. On click it tries to got to that combined url and shows error. I console logged and the url coming to the component via props is correct. Doex
Something like this:
<a href="http://mail.ru"></a>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.