Chore: Evaluate CannedResponseDetail - TypeScript (#4150)
This commit is contained in:
parent
93c3c5f3a9
commit
243d016bf1
|
@ -84,7 +84,6 @@ const Item = ({ label, content, theme, testID }: IItem) =>
|
||||||
<Text accessibilityLabel={label} style={[styles.itemLabel, { color: themes[theme].titleText }]}>
|
<Text accessibilityLabel={label} style={[styles.itemLabel, { color: themes[theme].titleText }]}>
|
||||||
{label}
|
{label}
|
||||||
</Text>
|
</Text>
|
||||||
{/* @ts-ignore */}
|
|
||||||
<Markdown style={[styles.itemContent, { color: themes[theme].auxiliaryText }]} msg={content} theme={theme} />
|
<Markdown style={[styles.itemContent, { color: themes[theme].auxiliaryText }]} msg={content} theme={theme} />
|
||||||
</View>
|
</View>
|
||||||
) : null;
|
) : null;
|
||||||
|
@ -115,7 +114,7 @@ const CannedResponseDetail = ({ navigation, route }: ICannedResponseDetailProps)
|
||||||
t: room.t,
|
t: room.t,
|
||||||
fname: name
|
fname: name
|
||||||
}),
|
}),
|
||||||
t: room.t as any,
|
t: room.t,
|
||||||
roomUserId: getUidDirectMessage(room),
|
roomUserId: getUidDirectMessage(room),
|
||||||
usedCannedResponse: item.text
|
usedCannedResponse: item.text
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue