From c93f76b420323942bf7de51dcdd8a591327dad25 Mon Sep 17 00:00:00 2001 From: Andrew Cherniavskii Date: Tue, 17 Sep 2024 08:29:14 +0200 Subject: [PATCH] [core] Fix failing CI on master (#14644) --- packages/x-charts/src/ChartsTooltip/useAxisTooltip.tsx | 1 + packages/x-charts/src/ChartsTooltip/useItemTooltip.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/x-charts/src/ChartsTooltip/useAxisTooltip.tsx b/packages/x-charts/src/ChartsTooltip/useAxisTooltip.tsx index 0e2421b46d78..7b86b0bb0648 100644 --- a/packages/x-charts/src/ChartsTooltip/useAxisTooltip.tsx +++ b/packages/x-charts/src/ChartsTooltip/useAxisTooltip.tsx @@ -1,3 +1,4 @@ +'use client'; import * as React from 'react'; import { AxisInteractionData, InteractionContext } from '../context/InteractionProvider'; import { useSeries } from '../hooks/useSeries'; diff --git a/packages/x-charts/src/ChartsTooltip/useItemTooltip.tsx b/packages/x-charts/src/ChartsTooltip/useItemTooltip.tsx index f76f8fb86f05..5743592e31dc 100644 --- a/packages/x-charts/src/ChartsTooltip/useItemTooltip.tsx +++ b/packages/x-charts/src/ChartsTooltip/useItemTooltip.tsx @@ -1,3 +1,4 @@ +'use client'; import * as React from 'react'; import { InteractionContext, ItemInteractionData } from '../context/InteractionProvider'; import { useSeries } from '../hooks/useSeries';