From d19a51c9a82edff1ff7ab82e664af79b2288f75c Mon Sep 17 00:00:00 2001 From: evavirseda Date: Tue, 13 Aug 2024 11:46:30 +0200 Subject: [PATCH] feat(wallet): make hardcoded copyright date dynamic (#1748) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Begoña Álvarez de la Cruz --- apps/wallet/src/ui/app/pages/accounts/WelcomePage.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/wallet/src/ui/app/pages/accounts/WelcomePage.tsx b/apps/wallet/src/ui/app/pages/accounts/WelcomePage.tsx index 92c9b19bc4c..4d3b6775d22 100644 --- a/apps/wallet/src/ui/app/pages/accounts/WelcomePage.tsx +++ b/apps/wallet/src/ui/app/pages/accounts/WelcomePage.tsx @@ -18,6 +18,7 @@ export function WelcomePage() { !(createAccountsMutation.isPending || createAccountsMutation.isSuccess), ); const navigate = useNavigate(); + const CURRENT_YEAR = new Date().getFullYear(); return ( @@ -42,7 +43,9 @@ export function WelcomePage() { } /> -
© IOTA Foundation 2024
+
+ © IOTA Foundation {CURRENT_YEAR} +
);