We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fed91d0 commit fe57c49Copy full SHA for fe57c49
1 file changed
server/src/emails/code-email.tsx
@@ -51,13 +51,13 @@ const styles = {
51
52
export function CodeEmail({ code, firstName, isExistingUser }: CodeEmailProps) {
53
const codeType = isExistingUser ? "login" : "signup"
54
- const greetingName = firstName ? `${firstName},` : "-"
+ const greeting = firstName ? `Hey ${firstName},` : "Hey,"
55
56
return (
57
<Html>
58
<Body style={styles.body}>
59
<Container style={styles.container}>
60
- <Text style={styles.greeting}>Hey {greetingName}</Text>
+ <Text style={styles.greeting}>{greeting}</Text>
61
<Text style={styles.copy}>Here's your verification code for Inline {codeType}:</Text>
62
<Section style={{ marginBottom: "20px" }}>
63
<div style={styles.codeWrap}>
0 commit comments