cutting out more crap...know my main value
This commit is contained in:
@@ -68,45 +68,16 @@ export function ConversationList() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<List>
|
||||||
<List
|
{inboxConversations.map((currentConversation, index) => (
|
||||||
subheader={
|
<ConversationRow
|
||||||
<ListSubheader>
|
key={`${currentConversation._id.toString()}-inboxConvoList`}
|
||||||
<FiZap />
|
conversation={currentConversation}
|
||||||
<Typography variant="subtitle2"> Favorites</Typography>
|
index={index}
|
||||||
</ListSubheader>
|
isPriority={false}
|
||||||
}
|
/>
|
||||||
>
|
))}
|
||||||
<Stack direction={'column'} alignItems="center">
|
</List>
|
||||||
<Typography align="center" variant="caption">
|
|
||||||
Add your favorites here for quick dialing
|
|
||||||
</Typography>
|
|
||||||
</Stack>
|
|
||||||
</List>
|
|
||||||
|
|
||||||
<Divider />
|
|
||||||
|
|
||||||
<List
|
|
||||||
sx={{
|
|
||||||
pt: 2,
|
|
||||||
}}
|
|
||||||
subheader={
|
|
||||||
<ListSubheader>
|
|
||||||
<FiInbox />
|
|
||||||
<Typography variant="subtitle2"> Inbox</Typography>
|
|
||||||
</ListSubheader>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
{inboxConversations.map((currentConversation, index) => (
|
|
||||||
<ConversationRow
|
|
||||||
key={`${currentConversation._id.toString()}-inboxConvoList`}
|
|
||||||
conversation={currentConversation}
|
|
||||||
index={index}
|
|
||||||
isPriority={false}
|
|
||||||
/>
|
|
||||||
))}
|
|
||||||
</List>
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,9 @@ export default function Terminal() {
|
|||||||
>
|
>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
|
|
||||||
<Box sx={{ p: 2 }}>{searchQuery ? <OmniSearchResults /> : <ConversationList />}</Box>
|
<Box sx={{ p: 2, pt: 0 }}>
|
||||||
|
{searchQuery ? <OmniSearchResults /> : <ConversationList />}
|
||||||
|
</Box>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid
|
<Grid
|
||||||
|
|||||||
Reference in New Issue
Block a user