diff --git a/src/storyMap/components/StoryMapForm/storyMapConfigContext.js b/src/storyMap/components/StoryMapForm/storyMapConfigContext.js index ccc479787b..9cd441dfd8 100644 --- a/src/storyMap/components/StoryMapForm/storyMapConfigContext.js +++ b/src/storyMap/components/StoryMapForm/storyMapConfigContext.js @@ -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 {