Skip to content

Commit

Permalink
chore(react): proptypes fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Feb 21, 2019
1 parent 5c58c63 commit 05eb49f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/components/Nav/SidebarItem/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ NavButton.propTypes = {
hasSubmenu: PropTypes.bool,
subMenuTarget: PropTypes.string,
active: PropTypes.bool,
children: PropTypes.node.isRequired
children: PropTypes.node
}

export default NavButton
2 changes: 1 addition & 1 deletion src/client/components/Settings/SettingItem/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ SettingItem.propTypes = {
component: PropTypes.element,
footer: PropTypes.element,
subPanelPadding: PropTypes.string,
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node])
}

export default SettingItem

0 comments on commit 05eb49f

Please sign in to comment.