fix translate

This commit is contained in:
smanylov
2026-05-11 13:49:29 +07:00
parent c15867a41c
commit 51a3ed7d18
3 changed files with 6 additions and 2 deletions
@@ -52,7 +52,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler,
useEffect(() => {
if (state?.success) {
toast.success(t('the-complaint-has-been-registered'));
toast.success(t('the-claims-has-been-registered'));
const newStatus = selectedViolation.status === 'COMPLAINT_IN_WORK'
? 'COMPLAINT_AND_LEGAL_IN_WORK'
@@ -69,7 +69,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler,
if (state.errorMessage?.server) {
toast.warning(t(state.errorMessage.server));
} else {
toast.warning(t('the-complaint-has-not-been-registered'));
toast.warning(t('the-claims-has-not-been-registered'));
}
}
}, [state, updateStatusHandler, selectedViolation.id]);