it's all smoother
This commit is contained in:
@@ -152,7 +152,7 @@ export default function FooterControls() {
|
|||||||
))}
|
))}
|
||||||
</AvatarGroup>
|
</AvatarGroup>
|
||||||
|
|
||||||
<Tooltip title="No conversation selected!">
|
<Tooltip title="Paste image or link!">
|
||||||
<IconButton
|
<IconButton
|
||||||
sx={{
|
sx={{
|
||||||
color: 'white',
|
color: 'white',
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ export default function NewConversationDialog({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: 2,
|
gap: 2,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
background: blueGrey[100],
|
background: blueGrey[50],
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ const handleOnStartRecording = (e: BlobEvent) => {
|
|||||||
audioChunks = [];
|
audioChunks = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
// todo: extract each use effect to custom hook and will be clean
|
|
||||||
export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
||||||
const { enqueueSnackbar } = useSnackbar();
|
const { enqueueSnackbar } = useSnackbar();
|
||||||
const { user, logout, nirvanaUser } = useAuth();
|
const { user, logout, nirvanaUser } = useAuth();
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import { Avatar, Box, Stack, Typography } from '@mui/material';
|
import { Avatar, Box, Stack, Typography } from '@mui/material';
|
||||||
|
|
||||||
|
import React from 'react';
|
||||||
import { User } from '@nirvana/core/src/models/user.model';
|
import { User } from '@nirvana/core/src/models/user.model';
|
||||||
|
|
||||||
export default function UserDetailRow({
|
export default function UserDetailRow({
|
||||||
@@ -22,7 +22,7 @@ export default function UserDetailRow({
|
|||||||
<Avatar src={user.photoUrl} alt={user.displayName} />
|
<Avatar src={user.photoUrl} alt={user.displayName} />
|
||||||
|
|
||||||
<Stack>
|
<Stack>
|
||||||
<Typography variant="subtitle2" color="info">
|
<Typography variant="subtitle2" color="info" gutterBottom={false}>
|
||||||
{user.displayName}
|
{user.displayName}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant={'overline'}>{user.email}</Typography>
|
<Typography variant={'overline'}>{user.email}</Typography>
|
||||||
|
|||||||
Reference in New Issue
Block a user