fix: code styles

This commit is contained in:
Koosha Lahouti
2025-08-12 02:44:35 +03:30
parent 8bd037effd
commit 63946d4176
3 changed files with 84 additions and 27 deletions

View File

@@ -8,6 +8,7 @@ import {
Typography,
InputAdornment,
IconButton,
CircularProgress,
} from '@mui/material';
import { useTranslation } from 'react-i18next';
import { TickCircle, Edit, Refresh } from 'iconsax-react';
@@ -73,8 +74,8 @@ export function EmailSection({
const fieldSx = {
flex: '1 1 260px',
maxWidth: emailVerified ? '634px' : '462px',
width: '100%',
// maxWidth: emailVerified ? '634px' : '462px',
// width: '100%',
};
return (
@@ -216,19 +217,7 @@ export function EmailSection({
}}
>
{isVerifyingCode ? (
<Box
component="span"
sx={{
display: 'flex',
animation: 'spin 1s linear infinite',
'@keyframes spin': {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
},
}}
>
<Refresh size="24" color="text.secondary" />
</Box>
<CircularProgress />
) : (
t('completion.checkCodeButton')
)}