Skip to content

Commit

Permalink
fix(UpdatedAtDate): fix title
Browse files Browse the repository at this point in the history
  • Loading branch information
Feverqwe committed Jan 16, 2024
1 parent 8f35097 commit 48b497f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/components/UpdatedAtDate/UpdatedAtDate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
display: flex;
margin: 0 0 32px;

&__title {
@include contributors-text();
}
@include contributors-text();
}
3 changes: 1 addition & 2 deletions src/components/UpdatedAtDate/UpdatedAtDate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ const UpdatedAtDate: React.FC<UpdatedAtDateProps> = ({updatedAt}) => {

return (
<div className={b()}>
<div className={b('title')}>{t<string>('title')}</div>
{updatedAtFormatted}
{t<string>('title')} {updatedAtFormatted}
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@
"prev": "Previous page"
},
"updated-at-date": {
"label-updated-at": "Updated at"
"title": "Updated at"
}
}
2 changes: 1 addition & 1 deletion src/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@
"prev": "Предыдущая страница"
},
"updated-at-date": {
"label-updated-at": "Обновлено"
"title": "Обновлено"
}
}

0 comments on commit 48b497f

Please sign in to comment.