пва
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user