From b402e2f4cb7d3f08c90c8320f39eddaff75dd25e Mon Sep 17 00:00:00 2001 From: Marlo Longley Date: Thu, 6 Feb 2025 12:24:44 -0500 Subject: [PATCH] Loosen PluginComponents PropType requirement for WindowTopBarPluginMenu --- src/components/WindowTopBarPluginMenu.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/WindowTopBarPluginMenu.js b/src/components/WindowTopBarPluginMenu.js index 4b3abc0b3..e255667c3 100644 --- a/src/components/WindowTopBarPluginMenu.js +++ b/src/components/WindowTopBarPluginMenu.js @@ -72,8 +72,6 @@ WindowTopBarPluginMenu.propTypes = { container: PropTypes.shape({ current: PropTypes.instanceOf(Element) }), menuIcon: PropTypes.element, open: PropTypes.bool, - PluginComponents: PropTypes.arrayOf( - PropTypes.node, - ), + PluginComponents: PropTypes.array, // eslint-disable-line react/forbid-prop-types windowId: PropTypes.string.isRequired, };