fixed date proptype

This commit is contained in:
Diego Mello 2017-11-14 10:26:38 -02:00
parent 926e4df596
commit a740f79f22
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export default class RoomItem extends React.PureComponent {
static propTypes = {
type: PropTypes.string.isRequired,
name: PropTypes.string.isRequired,
_updatedAt: PropTypes.date,
_updatedAt: PropTypes.instanceOf(Date),
unread: PropTypes.number,
baseUrl: PropTypes.string,
onPress: PropTypes.func,