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