Remove unused prop, restore border

This commit is contained in:
Eric Bailey
2024-05-14 18:06:59 -05:00
parent 5ecb70b20a
commit ac4ae9b501
+4 -8
View File
@@ -29,14 +29,8 @@ import {ChatListItem} from './ChatListItem'
type Props = NativeStackScreenProps<MessagesTabNavigatorParams, 'Messages'> type Props = NativeStackScreenProps<MessagesTabNavigatorParams, 'Messages'>
function renderItem({ function renderItem({item}: {item: ChatBskyConvoDefs.ConvoView}) {
item, return <ChatListItem convo={item} />
index,
}: {
item: ChatBskyConvoDefs.ConvoView
index: number
}) {
return <ChatListItem convo={item} index={index} />
} }
function keyExtractor(item: ChatBskyConvoDefs.ConvoView) { function keyExtractor(item: ChatBskyConvoDefs.ConvoView) {
@@ -232,6 +226,8 @@ function DesktopHeader({
a.gap_lg, a.gap_lg,
a.px_lg, a.px_lg,
a.py_sm, a.py_sm,
a.border_b,
t.atoms.border_contrast_low,
]}> ]}>
<Text style={[a.text_2xl, a.font_bold]}> <Text style={[a.text_2xl, a.font_bold]}>
<Trans>Messages</Trans> <Trans>Messages</Trans>