fixed date proptype
This commit is contained in:
parent
926e4df596
commit
a740f79f22
|
@ -66,7 +66,7 @@ export default class RoomItem extends React.PureComponent {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
type: PropTypes.string.isRequired,
|
type: PropTypes.string.isRequired,
|
||||||
name: PropTypes.string.isRequired,
|
name: PropTypes.string.isRequired,
|
||||||
_updatedAt: PropTypes.date,
|
_updatedAt: PropTypes.instanceOf(Date),
|
||||||
unread: PropTypes.number,
|
unread: PropTypes.number,
|
||||||
baseUrl: PropTypes.string,
|
baseUrl: PropTypes.string,
|
||||||
onPress: PropTypes.func,
|
onPress: PropTypes.func,
|
||||||
|
|
Loading…
Reference in New Issue