Skip to content

Commit

Permalink
Merge pull request #358 from Yoast/stories/fix-video-tutorial-test-wa…
Browse files Browse the repository at this point in the history
…rning

Set default classname
  • Loading branch information
xyfi authored Oct 25, 2017
2 parents a051baa + 15bd980 commit a388f12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion composites/HelpCenter/views/VideoTutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ VideoDescriptionItem.propTypes = {
description: PropTypes.string.isRequired,
link: PropTypes.string.isRequired,
linkText: PropTypes.string.isRequired,
className: PropTypes.string.isRequired,
className: PropTypes.string,
};

VideoDescriptionItem.defaultProps = {
className: "yoast-video-tutorial",
};

/**
Expand Down

0 comments on commit a388f12

Please sign in to comment.