Skip to content

Commit e4e4f72

Browse files
committed
Fix #5214
1 parent 4a16124 commit e4e4f72

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/Contentful/Viewport

1 file changed

+1
-1
lines changed

src/shared/components/Contentful/Viewport/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function ViewportContentLoader(props) {
113113
let animation = {};
114114
if (animationOnScroll) {
115115
contentIds.pop();
116-
animation = { ...data.entries.items[animationOnScroll.sys.id].fields };
116+
animation = { ...animationOnScroll.fields };
117117
// Animations only on client side
118118
if (isomorphy.isClientSide()) {
119119
AOS.init();

0 commit comments

Comments
 (0)