From d9e32d2ae179db171c9521a3e8ac8d3b5c5dc069 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 6 Nov 2024 13:14:09 +0700 Subject: [PATCH] fix: remove tooltip and update text color modelid API server page --- .../LocalServerRightPanel/index.tsx | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/web/screens/LocalServer/LocalServerRightPanel/index.tsx b/web/screens/LocalServer/LocalServerRightPanel/index.tsx index 628a615122..60c64eafbe 100644 --- a/web/screens/LocalServer/LocalServerRightPanel/index.tsx +++ b/web/screens/LocalServer/LocalServerRightPanel/index.tsx @@ -1,6 +1,6 @@ import { useCallback, useEffect, useMemo, useState } from 'react' -import { Accordion, AccordionItem, Input, Tooltip } from '@janhq/joi' +import { Accordion, AccordionItem, Input } from '@janhq/joi' import { useAtomValue, useSetAtom } from 'jotai' import { AlertTriangleIcon, CheckIcon, CopyIcon, InfoIcon } from 'lucide-react' @@ -99,7 +99,7 @@ const LocalServerRightPanel = () => {
{ className="text-[hsla(var(--success-bg))]" /> ) : ( - { - clipboard.copy(selectedModel?.id) - }} - /> - } - content="Copy Model ID" + { + clipboard.copy(selectedModel?.id) + }} /> ) }