Use a correct propType
This commit is contained in:
parent
0688a9c5ab
commit
03ac8fcaed
@ -10,7 +10,7 @@ import styles from './AppHeader.css';
|
||||
export default class AppHeader extends React.Component {
|
||||
|
||||
static propTypes = {
|
||||
collections: ImmutablePropTypes.list.isRequired,
|
||||
collections: ImmutablePropTypes.orderedMap.isRequired,
|
||||
commands: PropTypes.array.isRequired, // eslint-disable-line
|
||||
defaultCommands: PropTypes.array.isRequired, // eslint-disable-line
|
||||
runCommand: PropTypes.func.isRequired,
|
||||
|
Loading…
x
Reference in New Issue
Block a user