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 028b03a commit b3e4083
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions apps/dashboard/jobs/utils/transaction-notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
triggerBulk,
} from "@midday/notification";
import { createClient } from "@midday/supabase/job";
import { render } from "@react-email/components";
import { render } from "@react-email/render";
import { logger } from "@trigger.dev/sdk/v3";

interface User {
Expand Down Expand Up @@ -118,11 +118,8 @@ export async function handleTransactionEmails(

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

return validEmailPromises;
Expand Down
Binary file modified bun.lockb
Binary file not shown.
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.25",
"@react-email/render": "1.0.1",
"@react-email/tailwind": "0.1.0",
"@react-email/components": "0.0.31",
"@react-email/render": "0.0.10",
"@react-email/tailwind": "1.0.4",
"date-fns": "^4.1.0",
"react-email": "3.0.1",
"react-email": "3.0.4",
"responsive-react-email": "0.0.5"
},
"devDependencies": {
Expand Down

0 comments on commit b3e4083

Please sign in to comment.