Skip to content

Commit

Permalink
fix: remove link in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed May 16, 2024
1 parent 5ca23f9 commit fecc1f8
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions components-ui/faq-link/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,7 @@ const FAQLink: React.FC<
PropsWithChildren<{ tooltipLabel: string; to?: string }>
> = ({ to, tooltipLabel, children }) => (
<InformationTooltip
label={
<>
{children}
{to ? (
<div className="layout-right" style={{ marginTop: '10px' }}>
<a href={to} tabIndex={-1}>
→ en savoir plus
</a>
</div>
) : null}
</>
}
label={children}
tabIndex={to ? undefined : 0}
orientation="left"
width={230}
Expand Down

0 comments on commit fecc1f8

Please sign in to comment.