From 5b3c07ffc8a096d874633ff0e357f2860957160b Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 28 Sep 2023 18:39:24 +0530 Subject: [PATCH] shorten delay for tooltip --- .../web/app/(app)/environments/[environmentId]/Navigation.tsx | 2 +- .../(analysis)/responses/components/SingleResponse.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/app/(app)/environments/[environmentId]/Navigation.tsx b/apps/web/app/(app)/environments/[environmentId]/Navigation.tsx index c2790c8e35..9e34586bc0 100644 --- a/apps/web/app/(app)/environments/[environmentId]/Navigation.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/Navigation.tsx @@ -315,7 +315,7 @@ export default function Navigation({ Signed in as {session?.user?.name.length > 30 ? ( - + {truncate(session?.user?.name, 30)} diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/responses/components/SingleResponse.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/responses/components/SingleResponse.tsx index dd52c735b9..caabc36395 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/responses/components/SingleResponse.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/responses/components/SingleResponse.tsx @@ -1,5 +1,6 @@ "use client"; +import { RatingResponse } from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/components/RatingResponse"; import DeleteDialog from "@/components/shared/DeleteDialog"; import { deleteSubmission } from "@/lib/responses/responses"; import { truncate } from "@/lib/utils"; @@ -16,7 +17,6 @@ import { ReactNode, useState } from "react"; import toast from "react-hot-toast"; import ResponseNote from "./ResponseNote"; import ResponseTagsWrapper from "./ResponseTagsWrapper"; -import { RatingResponse } from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/components/RatingResponse"; export interface OpenTextSummaryProps { environmentId: string; @@ -47,7 +47,7 @@ function TooltipRenderer(props: TooltipRendererProps) { const { children, shouldRender, tooltipContent } = props; if (shouldRender) { return ( - + {children} {tooltipContent}