2024-11-19 15:00:10: merge [main:ec8b2dbb32f4d94fc9e18304a08d24c481909ee4];

This commit is contained in:
txix committed 2024-11-19 15:00:10 +03:00
1 parent fbad913311
commit 64852bca9f
9 files changed
+20 -14

No files matched your search

@@ -47,6 +47,7 @@ const ChangePasswordModal: FC<ChangePasswordModalProps> = ({
await logoutUser()
message.success('Пароль успешно изменен')
clearErrors('oldPassword')
onClose()
} catch (error: any) {
if (error.response.data.errorCode === 1001) {
setError('oldPassword', {
@@ -39,7 +39,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
onClose={onClose}
>
<Button
className="confirm-btn danger"
className="confirm-modal-btn danger"
type="primary"
danger
onClick={() => {
@@ -49,7 +49,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
>
Сохранить принудительно
</Button>
<Button className="confirm-btn" type="primary" onClick={onConfirmHandler}>
<Button className="confirm-modal-btn" type="primary" onClick={onConfirmHandler}>
Принять изменения
</Button>
</Modal>