diff --git a/client/components/onboarding/Welcome.tsx b/client/components/onboarding/Welcome.tsx
index e2647b40..b161d011 100644
--- a/client/components/onboarding/Welcome.tsx
+++ b/client/components/onboarding/Welcome.tsx
@@ -63,7 +63,6 @@ export default function Welcome({
setIsVerified(confirmed);
}, [user]);
-
const handleCheckVerification = async () => {
setIsCheckingVerification(true);
try {
@@ -183,7 +182,6 @@ export default function Welcome({
}
};
-
const VerificationIcon = isVerified ? MailCheck : MailWarning;
const verificationBorderClass = isVerified
? "border-emerald-500/40"
@@ -393,7 +391,9 @@ export default function Welcome({
) : (
<>
- Check your inbox for the AeThex confirmation email we sent during sign-up. Click the verification link in that email to confirm your account.
+ Check your inbox for the AeThex confirmation email we sent
+ during sign-up. Click the verification link in that email to
+ confirm your account.
- Check your email inbox and spam folder.
diff --git a/server/email.ts b/server/email.ts
index 78117c9e..5d5a92e6 100644
--- a/server/email.ts
+++ b/server/email.ts
@@ -4,7 +4,8 @@ const smtpHost = process.env.SMTP_HOST;
const smtpPort = parseInt(process.env.SMTP_PORT || "465", 10);
const smtpUser = process.env.SMTP_USER;
const smtpPassword = process.env.SMTP_PASSWORD;
-const fromEmail = process.env.SMTP_FROM_EMAIL || smtpUser || "support@aethex.tech";
+const fromEmail =
+ process.env.SMTP_FROM_EMAIL || smtpUser || "support@aethex.tech";
const verifySupportEmail =
process.env.VERIFY_SUPPORT_EMAIL ?? smtpUser ?? "support@aethex.tech";
diff --git a/server/index.ts b/server/index.ts
index e3d9fdcd..34635da2 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -121,11 +121,14 @@ export function createServer() {
(data as any)?.user?.user_metadata?.full_name ?? fullName ?? null;
if (!emailService.isConfigured) {
- console.warn("[API] Email service not configured. SMTP env vars missing:", {
- hasHost: Boolean(process.env.SMTP_HOST),
- hasUser: Boolean(process.env.SMTP_USER),
- hasPassword: Boolean(process.env.SMTP_PASSWORD),
- });
+ console.warn(
+ "[API] Email service not configured. SMTP env vars missing:",
+ {
+ hasHost: Boolean(process.env.SMTP_HOST),
+ hasUser: Boolean(process.env.SMTP_USER),
+ hasPassword: Boolean(process.env.SMTP_PASSWORD),
+ },
+ );
return res.json({
sent: false,
verificationUrl: actionLink,
@@ -574,11 +577,9 @@ export function createServer() {
typeof payload.content !== "string" ||
!payload.content.trim()
) {
- return res
- .status(400)
- .json({
- error: "content is required and must be a non-empty string",
- });
+ return res.status(400).json({
+ error: "content is required and must be a non-empty string",
+ });
}
// Validate author_id is a valid UUID format
diff --git a/vite.config.ts b/vite.config.ts
index fd2bbe9b..8599534f 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -44,7 +44,10 @@ function expressPlugin(): Plugin {
console.log("[Vite] Express server mounted successfully");
} catch (e) {
- console.error("[Vite] Failed to load Express server:", e instanceof Error ? e.message : String(e));
+ console.error(
+ "[Vite] Failed to load Express server:",
+ e instanceof Error ? e.message : String(e),
+ );
if (e instanceof Error && e.stack) {
console.error(e.stack);
}