Chore: Evaluate CannedResponseDetail - TypeScript (#4150)

This commit is contained in:
Reinaldo Neto 2022-05-02 21:23:03 -03:00 committed by GitHub
parent 93c3c5f3a9
commit 243d016bf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -84,7 +84,6 @@ const Item = ({ label, content, theme, testID }: IItem) =>
<Text accessibilityLabel={label} style={[styles.itemLabel, { color: themes[theme].titleText }]}>
{label}
</Text>
{/* @ts-ignore */}
<Markdown style={[styles.itemContent, { color: themes[theme].auxiliaryText }]} msg={content} theme={theme} />
</View>
) : 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
};