AuditLogDisableMode.tsx 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. import type { FC } from 'react';
  2. import React from 'react';
  3. import { useTranslation } from 'react-i18next';
  4. export const AuditLogDisableMode: FC = () => {
  5. const { t } = useTranslation('admin');
  6. return (
  7. <div className="ccontainer-lg">
  8. <div className="container">
  9. <div className="row justify-content-md-center">
  10. <div className="col-md-6 mt-5">
  11. <div className="text-center">
  12. {/* error icon large */}
  13. <h1>
  14. <span className="material-symbols-outlined">error</span>
  15. </h1>
  16. <h1 className="text-center">
  17. {t('audit_log_management.audit_log')}
  18. </h1>
  19. <h3
  20. // eslint-disable-next-line react/no-danger
  21. // biome-ignore lint/security/noDangerouslySetInnerHtml: trusted translation markup
  22. dangerouslySetInnerHTML={{
  23. __html: t('audit_log_management.disable_mode_explanation'),
  24. }}
  25. />
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. );
  32. };