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 = const fromAddress =
process.env.SMTP_FROM || process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
process.env.EMAIL_FROM ||
'OpenFrame <[email protected]>';
try { try {
await transporter.sendMail({ await transporter.sendMail({
+2 -2
View File
@@ -176,8 +176,8 @@ export default function TermsOfServicePage() {
</p> </p>
<p className="mt-3"> <p className="mt-3">
The core platform code is made available under the Functional Source License 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 (FSL-1.1-ALv2): the source code is publicly available and may be self-hosted, and each
each release becomes available under the Apache 2.0 license two years after its 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 publication. Please refer to the license in the GitHub repository for details on
permitted use. permitted use.
</p> </p>
+1 -2
View File
@@ -276,8 +276,7 @@ export function LandingPage({ isLoggedIn }: LandingPageProps) {
rel="noreferrer" rel="noreferrer"
className="text-xs font-medium text-muted-foreground/70 transition-colors hover:text-foreground" 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 <ArrowRight className="ml-1 inline h-3 w-3" />
<ArrowRight className="ml-1 inline h-3 w-3" />
</a> </a>
</div> </div>
</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 verifyUrl = `${baseUrl}/api/auth/verify-email?token=${encodeURIComponent(token)}`;
const from = const from = process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
const html = brandedEmailTemplate( const html = brandedEmailTemplate(
` `