Skip to content

Refactor: Profile cover image src#727

Merged
feruzm merged 1 commit into
developfrom
seer/refactor/profile-cover-image-src
Mar 31, 2026
Merged

Refactor: Profile cover image src#727
feruzm merged 1 commit into
developfrom
seer/refactor/profile-cover-image-src

Conversation

@sentry
Copy link
Copy Markdown
Contributor

@sentry sentry Bot commented Mar 31, 2026

Fixes ECENCY-NEXT-156F. The issue was that: Corrupted cover_image (object instead of string) from deepMerge causes TypeError when .trim() is called.

  • Simplified the logic for determining the profile cover image source.
  • Utilized optional chaining for more concise handling of data.profile.cover_image.
  • Removed redundant truthiness check before calling .trim().

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 1052168

Not quite right? Click here to continue debugging with Seer.

Copy link
Copy Markdown
Member

@feruzm feruzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@feruzm feruzm merged commit 44aa126 into develop Mar 31, 2026
@feruzm feruzm deleted the seer/refactor/profile-cover-image-src branch March 31, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant