Browse Source

bug: expected PropType in Model ImmutablePureComponent should be a map instead of OrderedMap (#5921)

bubble
Tim Lai 4 years ago
committed by GitHub
parent
commit
20d5c225c2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/core/components/model.jsx

+ 1
- 1
src/core/components/model.jsx View File

@@ -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,


Loading…
Cancel
Save