Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix

Marc Seitzcc66cd21020c
diff --git a/components/emails/upgrade-plan.tsx b/components/emails/upgrade-plan.tsx
index 4bfeb864..200044e1 100644
--- a/components/emails/upgrade-plan.tsx
+++ b/components/emails/upgrade-plan.tsx
@@ -91,18 +91,14 @@ const UpgradePlanEmail = ({
<Text className="text-sm leading-6 text-black">
On the {planType} plan, you now have access to:
</Text>
- {planFeatures &&
- planFeatures.map(
- (feature: string, index: number) => (
- <Text
- key={index}
- className="ml-1 text-sm leading-4 text-black"
- >
- ◆ {feature}
- </Text>
- ),
- [],
- )}
+ {planFeatures?.map(
+ (feature: string, index: number) => (
+ <Text key={index} className="ml-1 text-sm leading-4 text-black">
+ ◆ {feature}
+ </Text>
+ ),
+ [],
+ )}
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"