From 88d82a6b56874738a6c0834ee956cbb27b0f5f4f Mon Sep 17 00:00:00 2001 From: HMellor Date: Wed, 6 Mar 2024 16:17:01 +0000 Subject: [PATCH] Fix incorrect prop type --- src/contexts/ItemsProvider.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contexts/ItemsProvider.jsx b/src/contexts/ItemsProvider.jsx index 6f03a862..73a11082 100644 --- a/src/contexts/ItemsProvider.jsx +++ b/src/contexts/ItemsProvider.jsx @@ -33,5 +33,5 @@ export const ItemsProvider = ({ demo, children }) => { ItemsProvider.propTypes = { demo: PropTypes.bool, - children: PropTypes.arrayOf(PropTypes.element) + children: PropTypes.object }