Skip to content

Commit

Permalink
refactor(emails): Use pascal case for email components
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira committed Feb 25, 2025
1 parent d11ef4a commit 70ccd08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/emails/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import {
Tailwind,
} from '@react-email/components';
import * as React from 'react';
import EmailBody from './Body';
import { HtmlConditionalComment } from './HtmlConditionalComment';
import EmailBody from './body';
import OutlookEmailBody from './outlookBody';
import SocialIcon from './socialIcon';
import OutlookEmailBody from './OutlookBody';
import SocialIcon from './SocialIcon';

export interface EmailProps {
firstName: string;
Expand Down
2 changes: 1 addition & 1 deletion src/server/send-contact-email.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Email from '@/emails/contact';
import Email from '@/emails/Contact';
import { env } from '@/env.mjs';
import { transporter } from '@/lib/email';
import { render } from '@react-email/components';
Expand Down
2 changes: 1 addition & 1 deletion src/server/send-welcome-email.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { db } from '@/db';
import { memberTable } from '@/db/schema';
import Email from '@/emails/welcome';
import Email from '@/emails/Welcome';
import { env } from '@/env.mjs';
import { transporter } from '@/lib/email';
import { render } from '@react-email/components';
Expand Down

0 comments on commit 70ccd08

Please sign in to comment.