From 0e1ec8fb61efc52b4f92c6c6528cb7202ef146e2 Mon Sep 17 00:00:00 2001 From: Danny White <3104761+dnywh@users.noreply.github.com> Date: Mon, 10 Nov 2025 13:19:54 +1100 Subject: [PATCH] fix typecheck --- packages/ui-patterns/src/IconPanel/index.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/ui-patterns/src/IconPanel/index.tsx b/packages/ui-patterns/src/IconPanel/index.tsx index 5377024f1ff..7ab55643dab 100644 --- a/packages/ui-patterns/src/IconPanel/index.tsx +++ b/packages/ui-patterns/src/IconPanel/index.tsx @@ -3,7 +3,7 @@ import { ChevronRight } from 'lucide-react' import { useTheme } from 'next-themes' import * as React from 'react' -import ReactTooltip from 'react-tooltip' +import { Tooltip } from 'react-tooltip' interface Props { title?: string @@ -56,9 +56,15 @@ export const IconPanel = ({ ) } + const tooltipId = React.useId() + return ( <> -
+
{tooltip && ( - )}