diff --git a/.prettierignore b/.prettierignore index 0b09f47..5586fe9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,5 @@ googlea82f3fcba9c8e379.html _fresh/ /db /static/output.css -/out \ No newline at end of file +/out +.react-email \ No newline at end of file diff --git a/deno.jsonc b/deno.jsonc index 9ee99a5..84a029d 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -33,5 +33,5 @@ "@react-email/components": "npm:@react-email/components" }, "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, - "exclude": ["**/_fresh/*"] + "exclude": ["**/_fresh/*", "./.react-email/*"] } diff --git a/emails/login.tsx b/emails/login.tsx index 53104ff..27c13e3 100644 --- a/emails/login.tsx +++ b/emails/login.tsx @@ -38,7 +38,10 @@ export default function LoginEmail({ otp = "123456" }: { otp: string }) { }} >
-- {emailInputted ? "To verify that you're you, please enter the code we emailed you below" : "We just emailed you a login code! Please enter it below."} + {emailInputted + ? "To verify that you're you, please enter the code we emailed you below" + : "We just emailed you a login code! Please enter it below."}
{event.showTimes.length > 1 && "Begins"}{" "}
- {event.showTimes[0].startTime
- ? (
- fmtDate(new Date(event.showTimes[0].startDate))
- )
- : (
- /* force dates to be the same across timezones if there's no startime */
-
The last day to get tickets is{" "}
-
- You're already registered for this event! Edit or view - ticket below. -
- -+ You're already registered for this event! Edit or view ticket + below. +
+ +