From 3bfd5b0afbf4c92f2b13a5eb111ede61b9944156 Mon Sep 17 00:00:00 2001 From: Anant Pratap Singh Date: Sun, 5 Oct 2025 03:02:29 +0530 Subject: [PATCH] duplicate tooltips fixed --- .../src/components/ActionButton/index.tsx | 6 ++++-- lib/reactotron-core-ui/src/components/Header/index.tsx | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/reactotron-core-ui/src/components/ActionButton/index.tsx b/lib/reactotron-core-ui/src/components/ActionButton/index.tsx index 9731627e5..8bf5f9581 100644 --- a/lib/reactotron-core-ui/src/components/ActionButton/index.tsx +++ b/lib/reactotron-core-ui/src/components/ActionButton/index.tsx @@ -17,10 +17,12 @@ interface Props { } function ActionButton({ icon: Icon, tip, tipProps = {}, onClick }: Props) { + const tooltipId = tipProps.id || "tooltip-default" + return ( - + - + ) } diff --git a/lib/reactotron-core-ui/src/components/Header/index.tsx b/lib/reactotron-core-ui/src/components/Header/index.tsx index 743e70624..f8d87e365 100644 --- a/lib/reactotron-core-ui/src/components/Header/index.tsx +++ b/lib/reactotron-core-ui/src/components/Header/index.tsx @@ -98,6 +98,7 @@ const Header: FunctionComponent> =