This commit is contained in:
Kirill
2026-05-24 12:44:39 +05:00
parent 1041af32e5
commit 755e9dcad3
@@ -50,12 +50,7 @@ export function DeleteAccountSection() {
Удаление аккаунта Удаление аккаунта
</Typography> </Typography>
<Button <Button variant="outlined" color="error" onClick={() => setDialogOpen(true)} sx={{ alignSelf: 'start' }}>
variant="outlined"
color="error"
onClick={() => setDialogOpen(true)}
sx={{ alignSelf: 'start' }}
>
Удалить аккаунт Удалить аккаунт
</Button> </Button>
@@ -72,8 +67,8 @@ export function DeleteAccountSection() {
{hasActiveOrders && ( {hasActiveOrders && (
<DialogContentText sx={{ mb: 1, fontWeight: 500 }}> <DialogContentText sx={{ mb: 1, fontWeight: 500 }}>
У вас есть {activeOrders.length} незавершённых заказ У вас есть {activeOrders.length} незавершённых заказ
{activeOrders.length === 1 ? '' : activeOrders.length < 5 ? 'а' : 'ов'} {activeOrders.length === 1 ? '' : activeOrders.length < 5 ? 'а' : 'ов'}. После удаления аккаунта
. После удаления аккаунта отслеживание заказов станет недоступным. отслеживание заказов станет недоступным.
</DialogContentText> </DialogContentText>
)} )}
<DialogContentText> <DialogContentText>