Skip to content

Commit eb287f5

Browse files
committed
Fix PropTypes check for lang property
Resolves #109.
1 parent d31cc67 commit eb287f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/shapes/languageShape.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import PropTypes from 'prop-types';
22

3-
export default {
3+
export default PropTypes.shape({
44
collapseAll: PropTypes.string.isRequired,
55
expandAll: PropTypes.string.isRequired,
66
toggle: PropTypes.string.isRequired,
7-
};
7+
});

0 commit comments

Comments
 (0)