nice flow state working, but not projecting or telling others

This commit is contained in:
talksik
2022-06-11 17:24:26 -05:00
parent 1fd5487733
commit 8ffe5536eb
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export default function FlowState({ handleReconnect }: { handleReconnect: () =>
{quote && ( {quote && (
<Container <Container
maxWidth={'md'} maxWidth={'sm'}
sx={{ display: 'flex', alignItems: 'center', flexDirection: 'column' }} sx={{ display: 'flex', alignItems: 'center', flexDirection: 'column' }}
> >
<Typography variant={'h6'} textAlign={'center'}> <Typography variant={'h6'} textAlign={'center'}>
+4 -1
View File
@@ -24,8 +24,11 @@ import { blueGrey } from '@mui/material/colors';
import useAuth from '../providers/AuthProvider'; import useAuth from '../providers/AuthProvider';
import useConversations from '../providers/ConversationProvider'; import useConversations from '../providers/ConversationProvider';
import useSearch from '../providers/SearchProvider'; import useSearch from '../providers/SearchProvider';
import useZen from '../providers/ZenProvider';
export default function FooterControls() { export default function FooterControls() {
const { handleFlowState } = useZen();
const { omniSearch } = useSearch(); const { omniSearch } = useSearch();
const { selectedConversation } = useConversations(); const { selectedConversation } = useConversations();
const { user, handleLogout } = useAuth(); const { user, handleLogout } = useAuth();
@@ -97,7 +100,7 @@ export default function FooterControls() {
<Switch color="secondary" size="small" /> <Switch color="secondary" size="small" />
</Tooltip> </Tooltip>
<Button size={'small'} color={'secondary'} variant="text"> <Button size={'small'} color={'secondary'} variant="text" onClick={handleFlowState}>
flow flow
</Button> </Button>
</Stack> </Stack>