From 765cc0c7cf285c14c51ea46bf54d2a06bcad632c Mon Sep 17 00:00:00 2001 From: Filmon Arefayne Date: Tue, 27 Feb 2024 19:21:39 +0000 Subject: [PATCH] fix: make Tooltip a client component (#274) The toolip example use state internally, a more correct example should show that is a client component Co-authored-by: Bart Stefanski --- components/Tooltip/Tooltip.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Tooltip/Tooltip.tsx b/components/Tooltip/Tooltip.tsx index 59585e2..62fd481 100644 --- a/components/Tooltip/Tooltip.tsx +++ b/components/Tooltip/Tooltip.tsx @@ -1,3 +1,5 @@ +"use client" + import * as RadixTooltip from "@radix-ui/react-tooltip" import { cva, VariantProps } from "class-variance-authority" import React from "react"