Fix rel including undefined
This commit is contained in:
parent
4675708a8b
commit
1570ade4c0
@ -58,7 +58,7 @@ const SimpleLink = ({
|
||||
LinkProps &
|
||||
SimpleLinkProps): ReactElement => (
|
||||
<Link
|
||||
rel={`${noRef && "noopener noreferrer"}`}
|
||||
rel={noRef ? "noopener noreferrer" : ""}
|
||||
target={newTab ? "_blank" : "_self"}
|
||||
{...props}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user