From 420369c0491d2f290c7a3be3f1e859ad1404ff39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Prod=27homme?= Date: Fri, 22 Nov 2024 10:12:34 +0100 Subject: [PATCH] refactor(client): Remove tooltip delay SS-141 --- client/src/components/ui/tooltip.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/components/ui/tooltip.tsx b/client/src/components/ui/tooltip.tsx index 08ff54b..3720994 100644 --- a/client/src/components/ui/tooltip.tsx +++ b/client/src/components/ui/tooltip.tsx @@ -5,7 +5,12 @@ import * as React from "react"; import { cn } from "@/lib/utils"; -const TooltipProvider = TooltipPrimitive.Provider; +// const TooltipProvider = TooltipPrimitive.Provider; + +const TooltipProvider = ( + props: React.ComponentPropsWithoutRef, +) => ; +TooltipProvider.displayName = TooltipPrimitive.Provider.displayName; const Tooltip = TooltipPrimitive.Root;