cutting out more crap...know my main value

This commit is contained in:
talksik
2022-06-20 15:15:33 -05:00
parent c27e9cc29f
commit 09dddb13a2
2 changed files with 13 additions and 40 deletions
+10 -39
View File
@@ -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>
</>
); );
} }
+3 -1
View File
@@ -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