Fix TypeError

This commit is contained in:
Saoud Rizwan
2024-08-17 11:07:31 -04:00
parent 0316f49f07
commit 26fb2780b5
5 changed files with 5 additions and 5 deletions

View File

@@ -268,7 +268,7 @@ const HistoryView = ({ taskHistory, onDone }: HistoryViewProps) => {
API Cost:
</span>
<span style={{ color: "var(--vscode-descriptionForeground)" }}>
${item.totalCost.toFixed(4)}
${item.totalCost?.toFixed(4)}
</span>
</div>
<VSCodeButton