Reduce tooltip popup delay duration for Create Agent button on Web app (#926)

The problem was the tool tip was visible on hover, but it was slow, so before the tool tip popped up, the user would click on the button and this stopped the tool tip from popping up.

So i reduced the popup delay to 10ms. now as soon as user hovers over the button, they will see that its a feature coming soon!
This commit is contained in:
Shantanu Sakpal 2024-09-29 11:31:40 +05:30 committed by GitHub
parent be8de1a1bd
commit 65d5e03f7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -295,7 +295,7 @@ export default function Agents() {
<h1 className="text-3xl flex items-center">Agents</h1>
<div className="ml-auto float-right border p-2 pt-3 rounded-xl font-bold hover:bg-stone-100 dark:hover:bg-neutral-900">
<TooltipProvider>
<Tooltip>
<Tooltip delayDuration={10}>
<TooltipTrigger>
<div className="flex flex-row">
<Plus className="pr-2 w-6 h-6" />