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>
<Button
variant="outlined"
color="error"
onClick={() => setDialogOpen(true)}
sx={{ alignSelf: 'start' }}
>
<Button variant="outlined" color="error" onClick={() => setDialogOpen(true)} sx={{ alignSelf: 'start' }}>
Удалить аккаунт
</Button>
@@ -72,8 +67,8 @@ export function DeleteAccountSection() {
{hasActiveOrders && (
<DialogContentText sx={{ mb: 1, fontWeight: 500 }}>
У вас есть {activeOrders.length} незавершённых заказ
{activeOrders.length === 1 ? '' : activeOrders.length < 5 ? 'а' : 'ов'}
. После удаления аккаунта отслеживание заказов станет недоступным.
{activeOrders.length === 1 ? '' : activeOrders.length < 5 ? 'а' : 'ов'}. После удаления аккаунта
отслеживание заказов станет недоступным.
</DialogContentText>
)}
<DialogContentText>