Skip to content

Commit

Permalink
Fix PropTypes check for lang property
Browse files Browse the repository at this point in the history
Resolves #109.
  • Loading branch information
jakezatecky committed Sep 6, 2018
1 parent d31cc67 commit eb287f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/shapes/languageShape.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import PropTypes from 'prop-types';

export default {
export default PropTypes.shape({
collapseAll: PropTypes.string.isRequired,
expandAll: PropTypes.string.isRequired,
toggle: PropTypes.string.isRequired,
};
});

0 comments on commit eb287f5

Please sign in to comment.