From 223f06fcf5f20f98d05aafc53bed740c1ef89feb Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 28 Sep 2025 01:30:28 +0000 Subject: [PATCH] Prettier format pending files --- client/lib/aethex-database-adapter.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/client/lib/aethex-database-adapter.ts b/client/lib/aethex-database-adapter.ts index 9d8dd6c0..e8d7441e 100644 --- a/client/lib/aethex-database-adapter.ts +++ b/client/lib/aethex-database-adapter.ts @@ -22,10 +22,16 @@ export interface AethexUserProfile extends UserProfile { export function checkProfileComplete(p?: AethexUserProfile | null): boolean { if (!p) return false; - const hasUsername = typeof p.username === "string" && p.username.trim().length > 0; - const hasFullName = typeof p.full_name === "string" && p.full_name.trim().length > 0; - const hasUserType = typeof (p as any).user_type === "string" && (p as any).user_type.trim().length > 0; - const hasExperience = typeof (p as any).experience_level === "string" && (p as any).experience_level.trim().length > 0; + const hasUsername = + typeof p.username === "string" && p.username.trim().length > 0; + const hasFullName = + typeof p.full_name === "string" && p.full_name.trim().length > 0; + const hasUserType = + typeof (p as any).user_type === "string" && + (p as any).user_type.trim().length > 0; + const hasExperience = + typeof (p as any).experience_level === "string" && + (p as any).experience_level.trim().length > 0; return hasUsername && hasFullName && hasUserType && hasExperience; }