Skip to content

Commit

Permalink
fixed prop validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonymol-aot committed Dec 3, 2024
1 parent c26ffb4 commit 007941a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions forms-flow-nav/src/sidenav/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,9 @@ const Sidebar = React.memo(({ props }) => {
});

Sidebar.propTypes = {
props: PropTypes.shape({
subscribe: PropTypes.func.isRequired,
getKcInstance: PropTypes.func.isRequired,
publish: PropTypes.func.isRequired,
}).isRequired,
publish: PropTypes.func.isRequired
};

export default Sidebar;

0 comments on commit 007941a

Please sign in to comment.