From 1eeab2f2bc86e69367a2274946e9377de33be75c Mon Sep 17 00:00:00 2001 From: Christophe Jossart Date: Wed, 10 Apr 2024 18:54:32 +0200 Subject: [PATCH] chore: ignore chromatic and set footer current year --- .../ui/src/components/Organisms/Footer.tsx | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/packages/ui/src/components/Organisms/Footer.tsx b/packages/ui/src/components/Organisms/Footer.tsx index 23fbcdc99..7a0fb915e 100644 --- a/packages/ui/src/components/Organisms/Footer.tsx +++ b/packages/ui/src/components/Organisms/Footer.tsx @@ -171,14 +171,14 @@ export function Footer() { )} {item.children.length > 0 ? item.children.map((child) => ( - - {child.title} - - )) + + {child.title} + + )) : null} @@ -193,7 +193,10 @@ export function Footer() { } >
-

+

©{' '} {intl.formatMessage( { @@ -201,7 +204,7 @@ export function Footer() { id: 'qA8qQH', }, { - year: 2024, + year: new Date().getFullYear(), company_name: intl.formatMessage({ defaultMessage: 'Company name', id: 'FPGwAt',