Skip to content

Commit

Permalink
Merge pull request #4096 from ProjectMirador/plugin-component-proptype
Browse files Browse the repository at this point in the history
Loosen PluginComponents PropType requirement for WindowTopBarPluginMenu
  • Loading branch information
cbeer authored Feb 10, 2025
2 parents 7e8b0f8 + b402e2f commit e9f2bde
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/WindowTopBarPluginMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

0 comments on commit e9f2bde

Please sign in to comment.