From 80539188ef6814b4202d677d62b761bd5b670574 Mon Sep 17 00:00:00 2001
From: Max Nanis
Date: Tue, 24 Jun 2025 19:04:01 +0700
Subject: Dynamic height adjustment for widget size. CSS inject by JS for
 single file

---
 src/pages/Demographics.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/Demographics.tsx')

diff --git a/src/pages/Demographics.tsx b/src/pages/Demographics.tsx
index 2031511..f7f6efa 100644
--- a/src/pages/Demographics.tsx
+++ b/src/pages/Demographics.tsx
@@ -101,7 +101,7 @@ export const ContactCard = () => {
             <CardContent className="space-y-2 pt-2">
                 <div className="flex items-center space-x-2 text-sm text-muted-foreground">
                     <User className="w-4 h-4"/>
-                    <span>{titleCase(gender as string) ?? " - "}</span>
+                    <span>{titleCase(gender ?? " - " as string)}</span>
                 </div>
                 <div className="flex items-center space-x-2 text-sm text-muted-foreground">
                     <Calendar className="w-4 h-4"/>
-- 
cgit v1.2.3

