Skip to content

Commit

Permalink
background color category tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Hbbb committed Jan 28, 2024
1 parent 9cc2a32 commit 574008a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const transactionColumns: ColumnDef<TransactionType>[] = [
return (
<div className="flex space-x-1">
{row.original.category.split(',').map((category, idx) => (
<Badge variant="outline" key={idx}>
<Badge variant="outline" className="bg-background" key={idx}>
<span>{category}</span>
</Badge>
))}
Expand Down

0 comments on commit 574008a

Please sign in to comment.