From 33008d33adc4bc09bd0fdc15950ab0716925f124 Mon Sep 17 00:00:00 2001
From: yusufipk
Date: Sun, 12 Jul 2026 18:38:17 +0700
Subject: [PATCH] style: fix prettier formatting
---
app/api/settings/notifications/route.ts | 4 +---
app/terms/page.tsx | 4 ++--
components/LandingPage.tsx | 3 +--
lib/email-verification.ts | 3 +--
4 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/app/api/settings/notifications/route.ts b/app/api/settings/notifications/route.ts
index 0fbb918..0f34fac 100644
--- a/app/api/settings/notifications/route.ts
+++ b/app/api/settings/notifications/route.ts
@@ -191,9 +191,7 @@ export async function POST(request: NextRequest) {
});
const fromAddress =
- process.env.SMTP_FROM ||
- process.env.EMAIL_FROM ||
- 'OpenFrame ';
+ process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame ';
try {
await transporter.sendMail({
diff --git a/app/terms/page.tsx b/app/terms/page.tsx
index b276b49..7a886cb 100644
--- a/app/terms/page.tsx
+++ b/app/terms/page.tsx
@@ -176,8 +176,8 @@ export default function TermsOfServicePage() {
The core platform code is made available under the Functional Source License
- (FSL-1.1-ALv2): the source code is publicly available and may be self-hosted, and
- each release becomes available under the Apache 2.0 license two years after its
+ (FSL-1.1-ALv2): the source code is publicly available and may be self-hosted, and each
+ release becomes available under the Apache 2.0 license two years after its
publication. Please refer to the license in the GitHub repository for details on
permitted use.
diff --git a/components/LandingPage.tsx b/components/LandingPage.tsx
index 9757239..1e9c7f0 100644
--- a/components/LandingPage.tsx
+++ b/components/LandingPage.tsx
@@ -276,8 +276,7 @@ export function LandingPage({ isLoggedIn }: LandingPageProps) {
rel="noreferrer"
className="text-xs font-medium text-muted-foreground/70 transition-colors hover:text-foreground"
>
- Prefer self-hosting? View on GitHub{' '}
-
+ Prefer self-hosting? View on GitHub
diff --git a/lib/email-verification.ts b/lib/email-verification.ts
index 9c0d5b1..f24b4d2 100644
--- a/lib/email-verification.ts
+++ b/lib/email-verification.ts
@@ -110,8 +110,7 @@ export async function sendVerificationEmail(email: string, token: string): Promi
}
const verifyUrl = `${baseUrl}/api/auth/verify-email?token=${encodeURIComponent(token)}`;
- const from =
- process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame ';
+ const from = process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame ';
const html = brandedEmailTemplate(
`