Skip to content

Commit

Permalink
fix: Added conditional chain for titleTransition
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed May 9, 2024
1 parent 493018d commit 378da4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const StoryMapConfigContextProvider = props => {
_.flatMap(ids => ids),
_.compact
)([
newConfig.titleTransition.dataLayerConfigId,
newConfig.titleTransition?.dataLayerConfigId,
newConfig.chapters.map(chapter => chapter.dataLayerConfigId),
]);
return {
Expand Down

0 comments on commit 378da4b

Please sign in to comment.