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

@@ -234,7 +234,7 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
}}>
<div style={{ display: "flex", alignItems: "center", gap: "4px" }}>
<span style={{ fontWeight: "bold" }}>API Cost:</span>
<span>${totalCost.toFixed(4)}</span>
<span>${totalCost?.toFixed(4)}</span>
</div>
<VSCodeButton
appearance="icon"