Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Refactor import statements in ChatBubble component for improved organization

Salman-Ahamed2bdc226d0150
diff --git a/packages/app/src/react/features/ai-chat/components/chat-bubble.tsx b/packages/app/src/react/features/ai-chat/components/chat-bubble.tsx
index d9b13a6c..69370454 100644
--- a/packages/app/src/react/features/ai-chat/components/chat-bubble.tsx
+++ b/packages/app/src/react/features/ai-chat/components/chat-bubble.tsx
@@ -1,3 +1,9 @@
+import { Tooltip } from 'flowbite-react';
+import { FC, useRef, useState } from 'react';
+import { FaCheck, FaRegCopy } from 'react-icons/fa6';
+import ReactMarkdown from 'react-markdown';
+import remarkGfm from 'remark-gfm';
+
import {
CodeBlockWithCopyButton,
FileItemPreview,
@@ -5,11 +11,6 @@ import {
ThinkingMessage,
} from '@react/features/ai-chat/components';
import { FileWithMetadata, IChatMessage } from '@react/shared/types/chat.types';
-import { Tooltip } from 'flowbite-react';
-import { FC, useRef, useState } from 'react';
-import { FaCheck, FaRegCopy } from 'react-icons/fa6';
-import ReactMarkdown from 'react-markdown';
-import remarkGfm from 'remark-gfm';
import '../styles/index.css';
const DEFAULT_AVATAR_URL =