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 <[email protected]>
  • Loading branch information
2 people authored and bingyanglin committed Aug 19, 2024
1 parent bc8b642 commit 003a4db
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 003a4db

Please sign in to comment.