diff --git a/src/components/Image.js b/src/components/Image.js index b54e11a0b..63bd611e7 100644 --- a/src/components/Image.js +++ b/src/components/Image.js @@ -13,7 +13,7 @@ const Image = ({ nodeData, className }) => { const widthOption = getNestedValue(['options', 'width'], nodeData); let height = getNestedValue(['options', 'height'], nodeData); const loading = getNestedValue(['options', 'loading'], nodeData); - const directiveClass = getNestedValue(['options', 'directiveClass'], nodeData); + const directiveClass = getNestedValue(['options', 'class'], nodeData); let imgSrc = getNestedValue(['argument', 0, 'value'], nodeData); const altText = getNestedValue(['options', 'alt'], nodeData) || imgSrc;