fix anchor link
This commit is contained in:
parent
9485e332a8
commit
9b8a7253b8
@ -13,7 +13,7 @@ const CustomLink = ({ href, ...rest }) => {
|
||||
}
|
||||
|
||||
if (isAnchorLink) {
|
||||
return <a {...rest} />
|
||||
return <a href={href} {...rest} />
|
||||
}
|
||||
|
||||
return <a target="_blank" rel="noopener noreferrer" href={href} {...rest} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user