Skip to content

Commit

Permalink
Update pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsingh-007 committed Jan 22, 2025
1 parent 30c01cb commit 477c225
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
version: 10

- name: Setting up Node.js
uses: actions/setup-node@v4
Expand Down
9 changes: 8 additions & 1 deletion src/app/dashboard-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,14 @@ const DahsboardTable = () => {
<TableCell className="font-medium">
<CardName
cardBrandId={cardBrand?.id}
cardName={card.cardName}
cardName={
<span>
{card.cardName}
<span className="ml-1 hidden md:inline">
({card.cardLastDigits})
</span>
</span>
}
/>
</TableCell>
<TableCell>
Expand Down
3 changes: 2 additions & 1 deletion src/components/common/card-name.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { Avatar, AvatarImage } from '@/components/ui/avatar';
import clsx from 'clsx';
import { ReactNode } from 'react';

interface Props {
cardBrandId: string | undefined;
cardName: string;
cardName: ReactNode;
className?: string;
}

Expand Down

0 comments on commit 477c225

Please sign in to comment.