Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
console: Fix buttonTitle proptype
Browse files Browse the repository at this point in the history
ryaplots committed Feb 7, 2024
1 parent 1e3a855 commit 111a863
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/webui/components/panel/index.js
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ const Panel = ({

Panel.propTypes = {
activeToggle: PropTypes.string,
buttonTitle: PropTypes.string,
buttonTitle: PropTypes.message,
children: PropTypes.node.isRequired,
className: PropTypes.string,
divider: PropTypes.bool,
@@ -82,7 +82,6 @@ Panel.defaultProps = {
className: undefined,
messageDecorators: undefined,
divider: false,
svgIcon: undefined,
}

export default Panel

0 comments on commit 111a863

Please sign in to comment.