mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: use ! syntax instead of || ""
This commit is contained in:
@@ -15,9 +15,7 @@ interface NotionMagicLinkEmailProps {
|
||||
loginCode?: string;
|
||||
}
|
||||
|
||||
const baseUrl = process.env.VERCEL_URL
|
||||
? `https://${process.env.VERCEL_URL}`
|
||||
: "";
|
||||
const baseUrl = process.env.VERCEL_URL!
|
||||
|
||||
export const NotionMagicLinkEmail = ({
|
||||
loginCode,
|
||||
|
||||
@@ -15,9 +15,7 @@ interface PlaidVerifyIdentityEmailProps {
|
||||
validationCode?: string;
|
||||
}
|
||||
|
||||
const baseUrl = process.env.VERCEL_URL
|
||||
? `https://${process.env.VERCEL_URL}`
|
||||
: "";
|
||||
const baseUrl = process.env.VERCEL_URL!
|
||||
|
||||
export const PlaidVerifyIdentityEmail = ({
|
||||
validationCode,
|
||||
|
||||
@@ -13,9 +13,7 @@ import {
|
||||
} from "@react-email/components";
|
||||
import * as React from "react";
|
||||
|
||||
const baseUrl = process.env.VERCEL_URL
|
||||
? `https://${process.env.VERCEL_URL}`
|
||||
: "";
|
||||
const baseUrl = process.env.VERCEL_URL!
|
||||
|
||||
export const StripeWelcomeEmail = () => (
|
||||
<Html>
|
||||
|
||||
@@ -29,9 +29,7 @@ interface VercelInviteUserEmailProps {
|
||||
inviteFromLocation?: string;
|
||||
}
|
||||
|
||||
const baseUrl = process.env.VERCEL_URL
|
||||
? `https://${process.env.VERCEL_URL}`
|
||||
: "";
|
||||
const baseUrl = process.env.VERCEL_URL!
|
||||
|
||||
export const VercelInviteUserEmail = ({
|
||||
username,
|
||||
|
||||
Reference in New Issue
Block a user