nice flow state working, but not projecting or telling others
This commit is contained in:
@@ -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'}>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user