adding bg
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import { Container, Dialog, IconButton } from '@mui/material';
|
import { Container, Dialog, IconButton } from '@mui/material';
|
||||||
import { FiX } from 'react-icons/fi';
|
import { FiX } from 'react-icons/fi';
|
||||||
|
import { blueGrey } from '@mui/material/colors';
|
||||||
|
|
||||||
export default function NewConversationDialog({
|
export default function NewConversationDialog({
|
||||||
open,
|
open,
|
||||||
@@ -11,12 +12,13 @@ export default function NewConversationDialog({
|
|||||||
}) {
|
}) {
|
||||||
const handleSubmit = useCallback(() => {
|
const handleSubmit = useCallback(() => {
|
||||||
try {
|
try {
|
||||||
|
//
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
handleClose();
|
handleClose();
|
||||||
}, []);
|
}, [handleClose]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog fullScreen open={open} onClose={handleClose}>
|
<Dialog fullScreen open={open} onClose={handleClose}>
|
||||||
@@ -29,7 +31,7 @@ export default function NewConversationDialog({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: 2,
|
gap: 2,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
background: 'white',
|
background: blueGrey[100],
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
|
|
||||||
// on load, try getting microphone access
|
// on load, try getting microphone access
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
handleAskForMicrophonePermissions();
|
// handleAskForMicrophonePermissions();
|
||||||
}, [handleAskForMicrophonePermissions]);
|
}, [handleAskForMicrophonePermissions]);
|
||||||
|
|
||||||
// when user wants to talk,
|
// when user wants to talk,
|
||||||
|
|||||||
Reference in New Issue
Block a user