Skip to content

Commit

Permalink
fixed appStatus translation
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrov-site committed Jun 27, 2024
1 parent 0bc147b commit 8b68c7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Loaders/DefaultLoader.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { useTranslation } from 'react-i18next';

function DefaultLoader() {
const { t: tAS } = useTranslation('translations', { keyPrefix: 'appStatus' });
const { t } = useTranslation();

return (
<div className="h-100 m-auto d-flex flex-column justify-content-center align-items-center text-secondary">
<div className="spinner-border" role="status">
<span className="visually-hidden">{tAS('loading')}</span>
<span className="visually-hidden">{t('appStatus.loading')}</span>
</div>
<p className="pt-3">{tAS('loading')}</p>
<p className="pt-3">{t('appStatus.loading')}</p>
</div>
);
}
Expand Down

0 comments on commit 8b68c7d

Please sign in to comment.