diff --git a/app/views/DiscussionsView/Item.tsx b/app/views/DiscussionsView/Item.tsx
index c8ee5c8aa..51f26a1ca 100644
--- a/app/views/DiscussionsView/Item.tsx
+++ b/app/views/DiscussionsView/Item.tsx
@@ -66,8 +66,8 @@ interface IItem {
const Item = ({ item, baseUrl, user, onPress }: IItem): JSX.Element => {
const { theme } = useTheme();
const username = item?.u?.username;
- let messageTime;
- let messageDate;
+ let messageTime: string;
+ let messageDate: string;
if (item?.ts) {
messageTime = moment(item.ts).format('LT');
@@ -86,7 +86,7 @@ const Item = ({ item, baseUrl, user, onPress }: IItem): JSX.Element => {
{username}
- {messageTime}
+ {messageTime!}
{/* @ts-ignore */}
@@ -100,7 +100,7 @@ const Item = ({ item, baseUrl, user, onPress }: IItem): JSX.Element => {
preview
/>
-
+
diff --git a/app/views/DiscussionsView/index.tsx b/app/views/DiscussionsView/index.tsx
index 90a4ee132..65b5c0876 100644
--- a/app/views/DiscussionsView/index.tsx
+++ b/app/views/DiscussionsView/index.tsx
@@ -130,7 +130,6 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): JSX.Elem
),