Skip to content

Commit 6d3ecdf

Browse files
committed
[CMG-564] - Copy rights year to be changed
1 parent 404f13b commit 6d3ecdf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/src/components/AccountPage/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const AccountPage = (props: AccountObj): JSX.Element => {
1414
const { heading, copyrightText } = props.data;
1515

1616
const currentYear = new Date().getFullYear();
17-
const previousYear = currentYear - 1;
1817

1918
return (
2019
// eslint-disable-next-line react/no-unknown-property
@@ -27,7 +26,7 @@ const AccountPage = (props: AccountObj): JSX.Element => {
2726
</div>
2827
<div className="AccountPage__action">
2928
<div className="AccountPage__content">{props?.children}</div>
30-
<p className="copyright_text">{${previousYear}-${currentYear} ${copyrightText}`}</p>
29+
<p className="copyright_text">{${currentYear} ${copyrightText}`}</p>
3130
</div>
3231
</div>
3332
);

0 commit comments

Comments
 (0)