Skip to content

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

fix: lint issues

Marc Seitzf9ab82c61b86
diff --git a/components/emails/onboarding-1.tsx b/components/emails/onboarding-1.tsx
index d04d7613..b89eeb95 100644
--- a/components/emails/onboarding-1.tsx
+++ b/components/emails/onboarding-1.tsx
@@ -7,18 +7,13 @@ import {
Head,
Hr,
Html,
- Link,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
-interface Onboarding1EmailProps {
- name: string | null | undefined;
-}
-
-const Onboarding1Email = ({ name }: Onboarding1EmailProps) => {
+const Onboarding1Email = () => {
const previewText = `Share documents not attachments`;
return (
@@ -81,7 +76,7 @@ const Onboarding1Email = ({ name }: Onboarding1EmailProps) => {
</Text>
<Text className="text-xs">
If you have any feedback or questions about this email, simply
- reply to it. I'd love to hear from you!{" "}
+ reply to it. I&apos;d love to hear from you!{" "}
</Text>
<Text className="text-xs">Stop this onboarding sequence</Text>
diff --git a/components/emails/onboarding-2.tsx b/components/emails/onboarding-2.tsx
index 04e5d570..7ccae0d3 100644
--- a/components/emails/onboarding-2.tsx
+++ b/components/emails/onboarding-2.tsx
@@ -7,18 +7,13 @@ import {
Head,
Hr,
Html,
- Link,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
-interface Onboarding2EmailProps {
- name: string | null | undefined;
-}
-
-const Onboarding2Email = ({ name }: Onboarding2EmailProps) => {
+const Onboarding2Email = () => {
const previewText = `The document sharing infrastructure for the modern web`;
return (
@@ -80,7 +75,7 @@ const Onboarding2Email = ({ name }: Onboarding2EmailProps) => {
</Text>
<Text className="text-xs">
If you have any feedback or questions about this email, simply
- reply to it. I'd love to hear from you!{" "}
+ reply to it. I&apos;d love to hear from you!{" "}
</Text>
<Text className="text-xs">Stop this onboarding sequence</Text>
diff --git a/components/emails/onboarding-3.tsx b/components/emails/onboarding-3.tsx
index 17f7b9e6..40a51df2 100644
--- a/components/emails/onboarding-3.tsx
+++ b/components/emails/onboarding-3.tsx
@@ -7,18 +7,13 @@ import {
Head,
Hr,
Html,
- Link,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
-interface Onboarding3EmailProps {
- name: string | null | undefined;
-}
-
-const Onboarding3Email = ({ name }: Onboarding3EmailProps) => {
+const Onboarding3Email = () => {
const previewText = `The document sharing infrastructure for the modern web`;
return (
@@ -82,7 +77,7 @@ const Onboarding3Email = ({ name }: Onboarding3EmailProps) => {
</Text>
<Text className="text-xs">
If you have any feedback or questions about this email, simply
- reply to it. I'd love to hear from you!{" "}
+ reply to it. I&apos;d love to hear from you!{" "}
</Text>
<Text className="text-xs">Stop this onboarding sequence</Text>
diff --git a/components/emails/onboarding-4.tsx b/components/emails/onboarding-4.tsx
index 39b55585..1d709079 100644
--- a/components/emails/onboarding-4.tsx
+++ b/components/emails/onboarding-4.tsx
@@ -7,18 +7,13 @@ import {
Head,
Hr,
Html,
- Link,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
-interface Onboarding4EmailProps {
- name: string | null | undefined;
-}
-
-const Onboarding4Email = ({ name }: Onboarding4EmailProps) => {
+const Onboarding4Email = () => {
const previewText = `The document sharing infrastructure for the modern web`;
return (
@@ -44,7 +39,7 @@ const Onboarding4Email = ({ name }: Onboarding4EmailProps) => {
Share documnets with your <strong>custom domain💫</strong>{" "}
</li>
- <li>Remove "powered by Papermark"</li>
+ <li>Remove &quot;powered by Papermark&quot;</li>
<li>Add logo and custom colors</li>
<li>Share data room with custom domain</li>
<li>Add banner and custom brand to data rooms</li>
@@ -88,7 +83,7 @@ const Onboarding4Email = ({ name }: Onboarding4EmailProps) => {
</Text>
<Text className="text-xs">
If you have any feedback or questions about this email, simply
- reply to it. I'd love to hear from you!{" "}
+ reply to it. I&apos;d love to hear from you!{" "}
</Text>
<Text className="text-xs">Stop this onboarding sequence</Text>
diff --git a/components/emails/onboarding-5.tsx b/components/emails/onboarding-5.tsx
index 6fbfbf4f..218bb223 100644
--- a/components/emails/onboarding-5.tsx
+++ b/components/emails/onboarding-5.tsx
@@ -7,18 +7,13 @@ import {
Head,
Hr,
Html,
- Link,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
-interface Onboarding3EmailProps {
- name: string | null | undefined;
-}
-
-const Onboarding3Email = ({ name }: Onboarding3EmailProps) => {
+const Onboarding3Email = () => {
const previewText = `The document sharing infrastructure for the modern web`;
return (
@@ -96,8 +91,8 @@ const Onboarding3Email = ({ name }: Onboarding3EmailProps) => {
</Text>
<Text className="text-xs">
This is a last onboaridng email. If you have any feedback or
- questions about this email, simply reply to it. I'd love to hear
- from you!{" "}
+ questions about this email, simply reply to it. I&apos;d love to
+ hear from you!{" "}
</Text>
{/* <Text className="text-xs">Stop this onboarding sequence. </Text> */}