pass in prop

pull/1813/head
Warrick Corfe-Tan 4 years ago
parent eebfc988bb
commit 6e362098b2

@ -60,6 +60,7 @@ const HeaderItem = (props: {
profileName?: string; profileName?: string;
conversationId: string; conversationId: string;
isPinned: boolean; isPinned: boolean;
currentNotificationSetting: ConversationNotificationSettingType;
}) => { }) => {
const { const {
unreadCount, unreadCount,
@ -70,6 +71,7 @@ const HeaderItem = (props: {
conversationId, conversationId,
profileName, profileName,
name, name,
currentNotificationSetting
} = props; } = props;
const theme = useTheme(); const theme = useTheme();
@ -325,7 +327,6 @@ const ConversationListItem = (props: Props) => {
profileName={profileName} profileName={profileName}
currentNotificationSetting={currentNotificationSetting} currentNotificationSetting={currentNotificationSetting}
/> />
/>
<MessageItem isTyping={isTyping} unreadCount={unreadCount} lastMessage={lastMessage} /> <MessageItem isTyping={isTyping} unreadCount={unreadCount} lastMessage={lastMessage} />
</div> </div>
</div> </div>

Loading…
Cancel
Save