about summary refs log tree commit diff
path: root/src/components/Tooltip
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Tooltip')
-rw-r--r--src/components/Tooltip/index.tsx2
-rw-r--r--src/components/Tooltip/index.web.tsx1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Tooltip/index.tsx b/src/components/Tooltip/index.tsx
index fbdb969db..a7d151020 100644
--- a/src/components/Tooltip/index.tsx
+++ b/src/components/Tooltip/index.tsx
@@ -53,12 +53,14 @@ const TooltipContext = createContext<TooltipContextType>({
   visible: false,
   onVisibleChange: () => {},
 })
+TooltipContext.displayName = 'TooltipContext'
 
 const TargetContext = createContext<TargetContextType>({
   targetMeasurements: undefined,
   setTargetMeasurements: () => {},
   shouldMeasure: false,
 })
+TargetContext.displayName = 'TargetContext'
 
 export function Outer({
   children,
diff --git a/src/components/Tooltip/index.web.tsx b/src/components/Tooltip/index.web.tsx
index fc5808d7a..69b4cd338 100644
--- a/src/components/Tooltip/index.web.tsx
+++ b/src/components/Tooltip/index.web.tsx
@@ -20,6 +20,7 @@ const TooltipContext = createContext<TooltipContextType>({
   position: 'bottom',
   onVisibleChange: () => {},
 })
+TooltipContext.displayName = 'TooltipContext'
 
 export function Outer({
   children,