Skip to content

Commit

Permalink
fix: Changed default name for meetingName, added meetingLink prop
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanKha committed Jan 16, 2025
1 parent ad52248 commit f6c7f09
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/emails/ZoomReminder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ import imgurLogoImageUrl from "@/utils/constants/imgurLogoImageUrl";

type ZoomReminderEmailProps = {
meetingName?: string;
meetingLink?: string;
};

export default function ZoomReminderEmail({
meetingName = "Healthy Habits",
meetingName = "your SCF program",
meetingLink = "https://www.google.com",
}: ZoomReminderEmailProps) {
return (
<Html>
Expand All @@ -37,9 +39,9 @@ export default function ZoomReminderEmail({
/>
<Text style={paragraph}>
Please click the link below to join the zoom call for{" "}
{meetingName} for the Long Haul
{meetingName}.
</Text>
<Button style={button} href="https://www.google.com">
<Button style={button} href={meetingLink}>
Join Meeting
</Button>
<Text style={paragraph}>
Expand Down

0 comments on commit f6c7f09

Please sign in to comment.