Skip to content

Commit

Permalink
feat(wallet): make hardcoded copyright date dynamic (#1748)
Browse files Browse the repository at this point in the history
Co-authored-by: Begoña Álvarez de la Cruz <balvarez@boxfish.studio>
  • Loading branch information
evavirseda and begonaalvarezd authored Aug 13, 2024
1 parent b99c052 commit d19a51c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/wallet/src/ui/app/pages/accounts/WelcomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export function WelcomePage() {
!(createAccountsMutation.isPending || createAccountsMutation.isSuccess),
);
const navigate = useNavigate();
const CURRENT_YEAR = new Date().getFullYear();

return (
<Loading loading={isInitializedLoading || isFullscreenGuardLoading}>
Expand All @@ -42,7 +43,9 @@ export function WelcomePage() {
}
/>
</div>
<div className="text-body-lg text-neutral-60">&copy; IOTA Foundation 2024</div>
<div className="text-body-lg text-neutral-60">
&copy; IOTA Foundation {CURRENT_YEAR}
</div>
</div>
</Loading>
);
Expand Down

0 comments on commit d19a51c

Please sign in to comment.