Skip to content

Commit

Permalink
bug: expected PropType in Model ImmutablePureComponent should be a ma…
Browse files Browse the repository at this point in the history
…p instead of OrderedMap (#5921)
  • Loading branch information
tim-lai authored Mar 16, 2020
1 parent 4808c3a commit 20d5c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/model.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PropTypes from "prop-types"

export default class Model extends ImmutablePureComponent {
static propTypes = {
schema: ImPropTypes.orderedMap.isRequired,
schema: ImPropTypes.map.isRequired,
getComponent: PropTypes.func.isRequired,
getConfigs: PropTypes.func.isRequired,
specSelectors: PropTypes.object.isRequired,
Expand Down

0 comments on commit 20d5c22

Please sign in to comment.