Fix incorrect prop type for ComposerReply.status
This commit is contained in:
		
							parent
							
								
									cf36cd40eb
								
							
						
					
					
						commit
						a1ee3d464f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1,6 +1,7 @@ | ||||||
| //  Package imports.
 | //  Package imports.
 | ||||||
| import PropTypes from 'prop-types'; | import PropTypes from 'prop-types'; | ||||||
| import React from 'react'; | import React from 'react'; | ||||||
|  | import ImmutablePropTypes from 'react-immutable-proptypes'; | ||||||
| import { defineMessages } from 'react-intl'; | import { defineMessages } from 'react-intl'; | ||||||
| 
 | 
 | ||||||
| //  Components.
 | //  Components.
 | ||||||
|  | @ -89,7 +90,7 @@ export default class ComposerReply extends React.PureComponent { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| ComposerReply.propTypes = { | ComposerReply.propTypes = { | ||||||
|   status: PropTypes.map.isRequired, |   status: ImmutablePropTypes.map.isRequired, | ||||||
|   intl: PropTypes.object.isRequired, |   intl: PropTypes.object.isRequired, | ||||||
|   onCancel: PropTypes.func, |   onCancel: PropTypes.func, | ||||||
| }; | }; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue