Skip to content

Commit

Permalink
fix: fix failed storybook footer test
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Jan 2, 2025
1 parent 82ae303 commit 5a97d46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion govtool/frontend/src/components/organisms/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const Footer = () => {
}}
>
<Typography fontWeight={500} variant="caption">
{t("footer.copyright")}
{t("footer.copyright", { year: new Date().getFullYear() })}
</Typography>
<Box
sx={{
Expand Down
2 changes: 1 addition & 1 deletion govtool/frontend/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
}
},
"footer": {
"copyright": "© 2024 Intersect MBO",
"copyright": "© {{year}} Intersect MBO",
"privacyPolicy": "Privacy policy",
"termOfService": "Terms of Use"
},
Expand Down

0 comments on commit 5a97d46

Please sign in to comment.