oops, fix new tab prop not working properly
This commit is contained in:
parent
295081431b
commit
4675708a8b
@ -59,7 +59,7 @@ const SimpleLink = ({
|
|||||||
SimpleLinkProps): ReactElement => (
|
SimpleLinkProps): ReactElement => (
|
||||||
<Link
|
<Link
|
||||||
rel={`${noRef && "noopener noreferrer"}`}
|
rel={`${noRef && "noopener noreferrer"}`}
|
||||||
target={`${newTab && "_blank"}`}
|
target={newTab ? "_blank" : "_self"}
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user