Skip to content

Commit

Permalink
fix: Header background error
Browse files Browse the repository at this point in the history
  • Loading branch information
pwysowski committed Apr 9, 2020
1 parent 54136d6 commit 9f0cae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StickyParallaxHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class StickyParallaxHeader extends Component {
height: headerHeight,
backgroundColor: isArray
? arrayHeaderStyle.backgroundColor
: backgroundColor || headerStyle.backgroundColor
: backgroundColor || headerStyle?.backgroundColor
})
}
>
Expand Down Expand Up @@ -327,7 +327,7 @@ class StickyParallaxHeader extends Component {
{
backgroundColor: isArray
? arrayHeaderStyle.backgroundColor
: headerStyle.backgroundColor
: headerStyle?.backgroundColor
}
]}
/>
Expand Down

0 comments on commit 9f0cae6

Please sign in to comment.