non default export

This commit is contained in:
Canyon Robins 2025-05-19 21:08:17 -07:00
parent 671c3b7f14
commit a1a8654cdb
3 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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
</div>
)
}
export default ContextCondenseRow

View file

@ -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