Skip to content

Commit

Permalink
Fix failed PropType warning in DocumentBody (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlarew authored Feb 4, 2020
1 parent c1516b8 commit a655dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DocumentBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DocumentBody.propTypes = {
children: PropTypes.array,
}).isRequired,
}).isRequired,
slugTitleMapping: PropTypes.objectOf(PropTypes.oneOf([PropTypes.array, PropTypes.string])),
slugTitleMapping: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.array, PropTypes.string])),
substitutions: PropTypes.objectOf(PropTypes.array),
};

Expand Down

0 comments on commit a655dbb

Please sign in to comment.