Skip to content

Commit 8d13f33

Browse files
authored
Merge pull request #2598 from IntersectMBO/fix/failed-storybook-footer-test
fix: fix failed storybook footer test
2 parents 788a20c + 5a97d46 commit 8d13f33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

govtool/frontend/src/components/organisms/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const Footer = () => {
6363
}}
6464
>
6565
<Typography fontWeight={500} variant="caption">
66-
{t("footer.copyright")}
66+
{t("footer.copyright", { year: new Date().getFullYear() })}
6767
</Typography>
6868
<Box
6969
sx={{

govtool/frontend/src/i18n/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
}
293293
},
294294
"footer": {
295-
"copyright": "© 2024 Intersect MBO",
295+
"copyright": "© {{year}} Intersect MBO",
296296
"privacyPolicy": "Privacy policy",
297297
"termOfService": "Terms of Use"
298298
},

0 commit comments

Comments
 (0)