Skip to content

Commit 6253c62

Browse files
committed
nit
1 parent 975911d commit 6253c62

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { IconButton } from "./IconButton"
1010

1111
interface TaskActionsProps {
1212
item?: HistoryItem
13-
buttonsDisabled?: boolean
13+
buttonsDisabled: boolean
1414
handleCondenseContext: (taskId: string) => void
1515
}
1616

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface TaskHeaderProps {
2828
cacheReads?: number
2929
totalCost: number
3030
contextTokens: number
31-
buttonsDisabled?: boolean
31+
buttonsDisabled: boolean
3232
handleCondenseContext: (taskId: string) => void
3333
onClose: () => void
3434
}
@@ -159,8 +159,8 @@ const TaskHeader = ({
159159
{!totalCost && (
160160
<TaskActions
161161
item={currentTaskItem}
162-
handleCondenseContext={handleCondenseContext}
163162
buttonsDisabled={buttonsDisabled}
163+
handleCondenseContext={handleCondenseContext}
164164
/>
165165
)}
166166
</div>

0 commit comments

Comments
 (0)