From 243d016bf144b8c7f43df146d238d25fb7778bed Mon Sep 17 00:00:00 2001
From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Date: Mon, 2 May 2022 21:23:03 -0300
Subject: [PATCH] Chore: Evaluate CannedResponseDetail - TypeScript (#4150)
---
app/views/CannedResponseDetail.tsx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/app/views/CannedResponseDetail.tsx b/app/views/CannedResponseDetail.tsx
index 89af6ec31..d27d00c13 100644
--- a/app/views/CannedResponseDetail.tsx
+++ b/app/views/CannedResponseDetail.tsx
@@ -84,7 +84,6 @@ const Item = ({ label, content, theme, testID }: IItem) =>
{label}
- {/* @ts-ignore */}
) : null;
@@ -115,7 +114,7 @@ const CannedResponseDetail = ({ navigation, route }: ICannedResponseDetailProps)
t: room.t,
fname: name
}),
- t: room.t as any,
+ t: room.t,
roomUserId: getUidDirectMessage(room),
usedCannedResponse: item.text
};