Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Apr 9, 2024
1 parent f606147 commit 49dbe08
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ee/tabby-ui/app/components/summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ export function Summary({
</CardHeader>
<CardContent>
<div className="text-2xl font-bold">
{totalCompletions > 0 && '+'}{numeral(totalCompletions).format('0,0')}
{totalCompletions > 0 && '+'}
{numeral(totalCompletions).format('0,0')}
</div>
<p className="text-xs text-muted-foreground">
In last {dateRange} days
Expand Down Expand Up @@ -254,7 +255,9 @@ export function Summary({
</CardTitle>
</CardHeader>
<CardContent>
<div className="text-2xl font-bold">{totalCompletions === 0 ? '0' : `${averageAcceptance}%`}</div>
<div className="text-2xl font-bold">
{totalCompletions === 0 ? '0' : `${averageAcceptance}%`}
</div>
<p className="text-xs text-muted-foreground">
In last {dateRange} days
</p>
Expand Down

0 comments on commit 49dbe08

Please sign in to comment.