mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
non default export
This commit is contained in:
parent
671c3b7f14
commit
a1a8654cdb
3 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue