style: fix prettier formatting

This commit is contained in:
yusufipk
2026-07-12 18:38:17 +07:00
parent 6c6df3cf1d
commit 33008d33ad
4 changed files with 5 additions and 9 deletions
+1 -3
View File
@@ -191,9 +191,7 @@ export async function POST(request: NextRequest) {
});
const fromAddress =
process.env.SMTP_FROM ||
process.env.EMAIL_FROM ||
'OpenFrame <[email protected]>';
process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
try {
await transporter.sendMail({
+2 -2
View File
@@ -176,8 +176,8 @@ export default function TermsOfServicePage() {
</p>
<p className="mt-3">
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.
</p>
+1 -2
View File
@@ -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{' '}
<ArrowRight className="ml-1 inline h-3 w-3" />
Prefer self-hosting? View on GitHub <ArrowRight className="ml-1 inline h-3 w-3" />
</a>
</div>
</div>
+1 -2
View File
@@ -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 <[email protected]>';
const from = process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
const html = brandedEmailTemplate(
`