Skip to content

Commit

Permalink
Remove unused prop, restore border
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed May 14, 2024
1 parent 5ecb70b commit ac4ae9b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/screens/Messages/List/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,8 @@ import {ChatListItem} from './ChatListItem'

type Props = NativeStackScreenProps<MessagesTabNavigatorParams, 'Messages'>

function renderItem({
item,
index,
}: {
item: ChatBskyConvoDefs.ConvoView
index: number
}) {
return <ChatListItem convo={item} index={index} />
function renderItem({item}: {item: ChatBskyConvoDefs.ConvoView}) {
return <ChatListItem convo={item} />
}

function keyExtractor(item: ChatBskyConvoDefs.ConvoView) {
Expand Down Expand Up @@ -232,6 +226,8 @@ function DesktopHeader({
a.gap_lg,
a.px_lg,
a.py_sm,
a.border_b,
t.atoms.border_contrast_low,
]}>
<Text style={[a.text_2xl, a.font_bold]}>
<Trans>Messages</Trans>
Expand Down

0 comments on commit ac4ae9b

Please sign in to comment.