cleaning up use of conversations and much nicer!

This commit is contained in:
talksik
2022-05-31 06:47:01 -05:00
parent ad1a58ab5c
commit e39df85faa
8 changed files with 217 additions and 191 deletions
@@ -22,10 +22,12 @@ import ConversationLabel from '../subcomponents/ConversationLabel';
import { SUPPORT_DISPLAY_NAME } from '../util/support';
import { blueGrey } from '@mui/material/colors';
import useAuth from '../providers/AuthProvider';
import useConversations from '../providers/ConversationProvider';
import useTerminal from './Terminal';
export default function FooterControls() {
const { selectedConversation, handleOmniSearch } = useTerminal();
const { handleOmniSearch } = useTerminal();
const { selectedConversation } = useConversations();
const { user, logout } = useAuth();
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);