From fd93d14766239b8cefbfdb7959c43683745b1278 Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Tue, 29 Oct 2024 15:07:45 +0300 Subject: [PATCH] Fix oneOfType arguments --- .../src/components/DataVisualisationGuide/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/climatemappedafrica/src/components/DataVisualisationGuide/index.js b/apps/climatemappedafrica/src/components/DataVisualisationGuide/index.js index 4902c878b..db769dfd7 100644 --- a/apps/climatemappedafrica/src/components/DataVisualisationGuide/index.js +++ b/apps/climatemappedafrica/src/components/DataVisualisationGuide/index.js @@ -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, }), ),