oops, fix new tab prop not working properly

This commit is contained in:
Braydon 2024-04-26 20:03:54 -04:00
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}