diff --git a/frontend-gifts/src/components/GiftPage/GiftTabs.js b/frontend-gifts/src/components/GiftPage/GiftTabs.js index 9c4b2a7..be385f1 100644 --- a/frontend-gifts/src/components/GiftPage/GiftTabs.js +++ b/frontend-gifts/src/components/GiftPage/GiftTabs.js @@ -54,8 +54,8 @@ class GiftTabs extends React.Component {
- {gift.whatYouGetImageUrl && - {gift.whatYouGetImageAlt} + {gift.whatYouGetImage && + {gift.whatYouGetImage.alt} }
@@ -90,8 +90,7 @@ GiftTabs.propTypes = { actionImageUrl: React.PropTypes.string, actionImageAlt: React.PropTypes.string, actionDescription: React.PropTypes.string, - whatYouGetImageUrl: React.PropTypes.string, - whatYouGetImageAlt: React.PropTypes.string + whatYouGetImage: React.PropTypes.object, }).isRequired, };