From 69b29a3baeb3fa1337bb535e568143af5e067574 Mon Sep 17 00:00:00 2001 From: Filmon Arefayne Date: Wed, 3 Jan 2024 12:52:26 +0000 Subject: [PATCH] client side rendering Tooltip.tsx The toolip example use state internally, a more correct example should show that is a client component --- components/Tooltip/Tooltip.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Tooltip/Tooltip.tsx b/components/Tooltip/Tooltip.tsx index 59585e25b..62fd4813a 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"