Skip to content

Commit

Permalink
chore: delete duplication of backgroundMedia (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
reiseregen authored Dec 31, 2024
1 parent 56044fe commit 5009269
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/helpers/src/cms/getCmsLayoutConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ export function getCmsLayoutConfiguration<

result.cssClasses = cssClasses;

if (content.backgroundMedia) {
result.layoutStyles.backgroundImage = `url("${content.backgroundMedia.url}")`;
}
if (content.backgroundColor) {
result.layoutStyles.backgroundColor = content.backgroundColor;
}
Expand Down

0 comments on commit 5009269

Please sign in to comment.