diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 883282418e..c604508701 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -31,7 +31,7 @@ import { ProgressIndicator } from "./ProgressIndicator" import { Markdown } from "./Markdown" import { CommandExecution } from "./CommandExecution" import { CommandExecutionError } from "./CommandExecutionError" -import ContextCondenseRow from "./ContextCondenseRow" +import { ContextCondenseRow } from "./ContextCondenseRow" interface ChatRowProps { message: ClineMessage diff --git a/webview-ui/src/components/chat/ContextCondenseRow.tsx b/webview-ui/src/components/chat/ContextCondenseRow.tsx index 6f7718786c..52045df7f7 100644 --- a/webview-ui/src/components/chat/ContextCondenseRow.tsx +++ b/webview-ui/src/components/chat/ContextCondenseRow.tsx @@ -5,7 +5,7 @@ import { VSCodeBadge } from "@vscode/webview-ui-toolkit/react" import { ContextCondense } from "@roo/schemas" import { Markdown } from "./Markdown" -const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens, summary }: ContextCondense) => { +export const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens, summary }: ContextCondense) => { const { t } = useTranslation() const [isExpanded, setIsExpanded] = useState(false) @@ -36,5 +36,3 @@ const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens, summary ) } - -export default ContextCondenseRow diff --git a/webview-ui/src/components/chat/__tests__/ContextCondenseRow.test.tsx b/webview-ui/src/components/chat/__tests__/ContextCondenseRow.test.tsx index 677c78e7b3..c95934a300 100644 --- a/webview-ui/src/components/chat/__tests__/ContextCondenseRow.test.tsx +++ b/webview-ui/src/components/chat/__tests__/ContextCondenseRow.test.tsx @@ -1,5 +1,5 @@ import { render, screen, fireEvent } from "@testing-library/react" -import ContextCondenseRow from "../ContextCondenseRow" +import { ContextCondenseRow } from "../ContextCondenseRow" import { ContextCondense } from "@roo/schemas" // Mock the i18n hook