From a740f79f220a49ef5c8a56ea1fffb3e868394681 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 14 Nov 2017 10:26:38 -0200 Subject: [PATCH] fixed date proptype --- app/presentation/RoomItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/presentation/RoomItem.js b/app/presentation/RoomItem.js index fd294202a..6f143076b 100644 --- a/app/presentation/RoomItem.js +++ b/app/presentation/RoomItem.js @@ -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,