Skip to content

Commit

Permalink
Merge pull request #864 from plotly/proptypes-usage-typo
Browse files Browse the repository at this point in the history
PropTypes.function isn't a thing
  • Loading branch information
alexcjohnson authored Aug 14, 2019
2 parents 84f78c3 + 2490fe2 commit d9ddc87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DebugAlertContainer extends Component {
DebugAlertContainer.propTypes = {
errors: PropTypes.object,
alertsOpened: PropTypes.bool,
onClick: PropTypes.function,
onClick: PropTypes.func,
};

export {DebugAlertContainer};
4 changes: 2 additions & 2 deletions dash-renderer/src/components/error/menu/DebugMenu.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ DebugMenu.propTypes = {
children: PropTypes.object,
error: PropTypes.object,
dependenciesRequest: PropTypes.object,
resolveError: PropTypes.function,
dispatch: PropTypes.function,
resolveError: PropTypes.func,
dispatch: PropTypes.func,
};

export {DebugMenu};

0 comments on commit d9ddc87

Please sign in to comment.