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

@@ -112,7 +112,7 @@ const HistoryPreview = ({ taskHistory, showHistoryView }: HistoryPreviewProps) =
{" • "}
</>
)}
<span>API Cost: ${item.totalCost.toFixed(4)}</span>
<span>API Cost: ${item.totalCost?.toFixed(4)}</span>
</div>
</div>
</div>