diff --git a/src/components/profile/UserProfile.tsx b/src/components/profile/UserProfile.tsx index 5f8aa97..5ed46bc 100644 --- a/src/components/profile/UserProfile.tsx +++ b/src/components/profile/UserProfile.tsx @@ -229,9 +229,9 @@ useEffect(() => { setIsSaving(true); try { const safeSocialLinks = sanitizeSocialLinks(socialLinks); - + const trimmedAbout = aboutContent.trim(); await updateUserProfile({ - aboutMarkdown: aboutContent, + aboutMarkdown: trimmedAbout, ...safeSocialLinks }); setSocialLinks(safeSocialLinks);