Skip to content

Commit a1a8654

Browse files
committed
non default export
1 parent 671c3b7 commit a1a8654

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

webview-ui/src/components/chat/ChatRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { ProgressIndicator } from "./ProgressIndicator"
3131
import { Markdown } from "./Markdown"
3232
import { CommandExecution } from "./CommandExecution"
3333
import { CommandExecutionError } from "./CommandExecutionError"
34-
import ContextCondenseRow from "./ContextCondenseRow"
34+
import { ContextCondenseRow } from "./ContextCondenseRow"
3535

3636
interface ChatRowProps {
3737
message: ClineMessage

webview-ui/src/components/chat/ContextCondenseRow.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { VSCodeBadge } from "@vscode/webview-ui-toolkit/react"
55
import { ContextCondense } from "@roo/schemas"
66
import { Markdown } from "./Markdown"
77

8-
const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens, summary }: ContextCondense) => {
8+
export const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens, summary }: ContextCondense) => {
99
const { t } = useTranslation()
1010
const [isExpanded, setIsExpanded] = useState(false)
1111

@@ -36,5 +36,3 @@ const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens, summary
3636
</div>
3737
)
3838
}
39-
40-
export default ContextCondenseRow

webview-ui/src/components/chat/__tests__/ContextCondenseRow.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { render, screen, fireEvent } from "@testing-library/react"
2-
import ContextCondenseRow from "../ContextCondenseRow"
2+
import { ContextCondenseRow } from "../ContextCondenseRow"
33
import { ContextCondense } from "@roo/schemas"
44

55
// Mock the i18n hook

0 commit comments

Comments
 (0)