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 => (
|
||||
<Link
|
||||
rel={`${noRef && "noopener noreferrer"}`}
|
||||
target={`${newTab && "_blank"}`}
|
||||
target={newTab ? "_blank" : "_self"}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
|
Loading…
Reference in New Issue
Block a user