Skip to content

Commit

Permalink
Merge pull request #116 from amitsingh-007/f-update-pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsingh-007 authored Jan 22, 2025
2 parents 30c01cb + 49b4094 commit 8dd8f42
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 12 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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
},
"devDependencies": {
"@eslint/compat": "1.2.4",
"@eslint/js": "9.18.0",
"@types/node": "22.10.2",
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
Expand Down
25 changes: 17 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
1 change: 0 additions & 1 deletion src/types/database.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { UserRecord } from 'firebase-admin/auth';
import { OrderByDirection, WhereFilterOp } from 'firebase-admin/firestore';
import { CardSchema, CardTransactionSchema } from './firestore';
import { z } from 'zod';
Expand Down

1 comment on commit 8dd8f42

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for cards ready!

✅ Preview
https://cards-nzt5v5gbf-amit-singhs-projects-c621efdb.vercel.app

Built with commit 8dd8f42.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.