Skip to content

Commit

Permalink
fix: make Tooltip a client component (#274)
Browse files Browse the repository at this point in the history
The toolip example use state internally, a more correct example should show that is a client component

Co-authored-by: Bart Stefanski <contact@bstefanski.com>
  • Loading branch information
filmon-arefayne and bmstefanski committed Feb 27, 2024
1 parent c503bc8 commit 765cc0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 765cc0c

Please sign in to comment.