diff --git a/apps/shinkai-tray/src/components/chat/message.tsx b/apps/shinkai-tray/src/components/chat/message.tsx index 9d42633dd..9d398b419 100644 --- a/apps/shinkai-tray/src/components/chat/message.tsx +++ b/apps/shinkai-tray/src/components/chat/message.tsx @@ -1,17 +1,19 @@ import type { ShinkaiMessage } from '@shinkai_network/shinkai-message-ts/models'; import { MessageSchemaType } from '@shinkai_network/shinkai-message-ts/models'; import { ChatConversationMessage } from '@shinkai_network/shinkai-node-state/lib/queries/getChatConversation/types'; -import MarkdownPreview from '@uiw/react-markdown-preview'; - -import { cn } from '../../lib/utils'; -import { Avatar, AvatarFallback, AvatarImage } from '../ui/avatar'; -import CopyToClipboardIcon from '../ui/copy-to-clipboard-icon'; import { + Avatar, + AvatarFallback, + AvatarImage, + CopyToClipboardIcon, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, -} from '../ui/tooltip'; +} from '@shinkai_network/shinkai-ui'; +import MarkdownPreview from '@uiw/react-markdown-preview'; + +import { cn } from '../../lib/utils'; export const getMessageFilesInbox = ( message: ShinkaiMessage, @@ -70,7 +72,7 @@ const Message = ({
- {body} -
- ); -}); -FormMessage.displayName = 'FormMessage'; - -export { - useFormField, - Form, - FormItem, - FormLabel, - FormControl, - FormDescription, - FormMessage, - FormField, -}; diff --git a/apps/shinkai-tray/src/components/ui/hover-card.tsx b/apps/shinkai-tray/src/components/ui/hover-card.tsx deleted file mode 100644 index 97a167e46..000000000 --- a/apps/shinkai-tray/src/components/ui/hover-card.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import * as HoverCardPrimitive from '@radix-ui/react-hover-card'; -import * as React from 'react'; - -import { cn } from '../../lib/utils'; - -const HoverCard = HoverCardPrimitive.Root; - -const HoverCardTrigger = HoverCardPrimitive.Trigger; - -const HoverCardContent = React.forwardRef< - React.ElementRef+
Try “How to make a HTTP request in JavaScript” , “Give me the top 10 rock music in the 80s”, “Explain me how internet works”
@@ -47,18 +47,20 @@ const EmptyMessage = () => {