diff --git a/src/components/UpdatedAtDate/UpdatedAtDate.scss b/src/components/UpdatedAtDate/UpdatedAtDate.scss index 568e436b..f1e0e15f 100644 --- a/src/components/UpdatedAtDate/UpdatedAtDate.scss +++ b/src/components/UpdatedAtDate/UpdatedAtDate.scss @@ -4,7 +4,5 @@ display: flex; margin: 0 0 32px; - &__title { - @include contributors-text(); - } + @include contributors-text(); } diff --git a/src/components/UpdatedAtDate/UpdatedAtDate.tsx b/src/components/UpdatedAtDate/UpdatedAtDate.tsx index 5ab462d1..682cb956 100644 --- a/src/components/UpdatedAtDate/UpdatedAtDate.tsx +++ b/src/components/UpdatedAtDate/UpdatedAtDate.tsx @@ -24,8 +24,7 @@ const UpdatedAtDate: React.FC = ({updatedAt}) => { return (
-
{t('title')}
- {updatedAtFormatted} + {t('title')} {updatedAtFormatted}
); }; diff --git a/src/i18n/en.json b/src/i18n/en.json index b9271bab..92244c5a 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -115,6 +115,6 @@ "prev": "Previous page" }, "updated-at-date": { - "label-updated-at": "Updated at" + "title": "Updated at" } } diff --git a/src/i18n/ru.json b/src/i18n/ru.json index 9f3a5c93..fefa9d35 100644 --- a/src/i18n/ru.json +++ b/src/i18n/ru.json @@ -115,6 +115,6 @@ "prev": "Предыдущая страница" }, "updated-at-date": { - "label-updated-at": "Обновлено" + "title": "Обновлено" } }