diff --git a/src/state/queries/profile.ts b/src/state/queries/profile.ts index a42807405a..b792fecb46 100644 --- a/src/state/queries/profile.ts +++ b/src/state/queries/profile.ts @@ -176,8 +176,8 @@ export function useProfileUpdateMutation() { if (typeof updates === 'function') { next = updates(next) } else { - next.displayName = updates.displayName - next.description = updates.description + next.displayName = updates.displayName || undefined + next.description = updates.description || undefined if ('pinnedPost' in updates) { next.pinnedPost = updates.pinnedPost }