adding bg

This commit is contained in:
talksik
2022-05-30 06:11:27 -05:00
parent 68afcaff25
commit 9ba280ed75
2 changed files with 5 additions and 3 deletions
@@ -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',
}} }}
> >
+1 -1
View File
@@ -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,