Skip to content

Commit

Permalink
Fix oneOfType arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi authored Oct 29, 2024
1 parent 0bababd commit fd93d14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ DataVisualisationGuide.propTypes = {
title: PropTypes.string,
items: PropTypes.arrayOf(
PropTypes.shape({
description: PropTypes.oneOfType(PropTypes.string, PropTypes.shape({})),
description: PropTypes.oneOfType([PropTypes.string, PropTypes.shape({})]),
image: PropTypes.string,
}),
),
Expand Down

0 comments on commit fd93d14

Please sign in to comment.