Skip to content

Commit

Permalink
Downgrade react-email
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 14, 2024
1 parent 4eccdc4 commit 06fdc20
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion apps/dashboard/jobs/utils/transaction-notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@ export async function handleTransactionEmails(

try {
await triggerBulk(validEmailPromises);
logger.info("Transaction emails sent", {
count: validEmailPromises.length,
});
} catch (error) {
await logger.error("Transaction emails", { error });
logger.error("Transaction emails", { error });
}

return validEmailPromises;
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/email/emails/transactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ type Transaction = {
name: string;
currency: string;
category?: string;
teamName: string;
};

interface Props {
fullName: string;
transactions: Transaction[];
locale: string;
teamName: string;
}

const defaultTransactions = [
Expand Down
8 changes: 4 additions & 4 deletions packages/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"dependencies": {
"@midday/ui": "workspace:*",
"@midday/utils": "workspace:*",
"@react-email/components": "0.0.31",
"@react-email/render": "0.0.10",
"@react-email/tailwind": "1.0.4",
"@react-email/components": "0.0.25",
"@react-email/render": "^1.0.1",
"@react-email/tailwind": "0.1.0",
"date-fns": "^4.1.0",
"react-email": "3.0.4",
"react-email": "3.0.1",
"responsive-react-email": "^0.0.5"
},
"devDependencies": {
Expand Down

0 comments on commit 06fdc20

Please sign in to comment.