diff --git a/src/renderer/src/pages/home/ChatNavbar.tsx b/src/renderer/src/pages/home/ChatNavbar.tsx index 92fa43de4f..0d0dcce91d 100644 --- a/src/renderer/src/pages/home/ChatNavbar.tsx +++ b/src/renderer/src/pages/home/ChatNavbar.tsx @@ -20,7 +20,7 @@ import { Tooltip } from 'antd' import { t } from 'i18next' import { Menu, PanelLeftClose, PanelRightClose, Search } from 'lucide-react' import { AnimatePresence, motion } from 'motion/react' -import { FC, ReactNode, useCallback } from 'react' +import React, { FC, ReactNode, useCallback } from 'react' import styled from 'styled-components' import { AgentSettingsPopup } from '../settings/AgentSettings' @@ -193,13 +193,24 @@ const SessionWorkspaceMeta: FC<{ agentId: string; sessionId: string }> = ({ agen const infoItems: ReactNode[] = [] - const InfoTag: FC<{ text: string; className?: string }> = ({ text, className }) => ( + const InfoTag = ({ + text, + className, + onClick + }: { + text: string + className?: string + classNames?: {} + onClick?: (e: React.MouseEvent) => void + }) => (