From 72460a359ec1d7b557ab57f3aa0632d8165e6893 Mon Sep 17 00:00:00 2001 From: lfjnascimento Date: Fri, 19 Jul 2024 15:55:31 -0300 Subject: [PATCH] fix: accordion link was without href - also use target as `_blank` --- dashboard/src/components/LinkGroup/LinkGroup.tsx | 1 + dashboard/src/components/LinkWithIcon/LinkWithIcon.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dashboard/src/components/LinkGroup/LinkGroup.tsx b/dashboard/src/components/LinkGroup/LinkGroup.tsx index 1fc27c1..8c88969 100644 --- a/dashboard/src/components/LinkGroup/LinkGroup.tsx +++ b/dashboard/src/components/LinkGroup/LinkGroup.tsx @@ -23,6 +23,7 @@ const LinksGroup = ({ links }: ILinkGroup): JSX.Element => { icon={link.icon} linkText={link.linkText} key={link.link} + link={link.link} /> ), ); diff --git a/dashboard/src/components/LinkWithIcon/LinkWithIcon.tsx b/dashboard/src/components/LinkWithIcon/LinkWithIcon.tsx index 19e7d14..2382276 100644 --- a/dashboard/src/components/LinkWithIcon/LinkWithIcon.tsx +++ b/dashboard/src/components/LinkWithIcon/LinkWithIcon.tsx @@ -16,7 +16,12 @@ const LinkWithIcon = ({ return (
{title} - + {linkText} {icon}