diff --git a/packages/Layout/footer/src/FooterCore.tsx b/packages/Layout/footer/src/FooterCore.tsx index 23fa63d2f..892cc5ab3 100644 --- a/packages/Layout/footer/src/FooterCore.tsx +++ b/packages/Layout/footer/src/FooterCore.tsx @@ -15,9 +15,8 @@ interface FooterCoreComponentProps { alt?: string; className?: string; } - const defaultProps: Partial = { - children: '@ 2018 AXA Tous droits réservés', + children: `© ${new Date().getFullYear()} AXA Tous droits réservés`, href: 'https://www.axa.fr/', title: 'Site Axa', icon: 'assets/logo-axa.svg', @@ -33,17 +32,18 @@ const FooterCoreRaw: React.SFC = ({ children, }) => ( ); FooterCoreRaw.defaultProps = defaultProps; -export type FooterCoreProps = FooterCoreComponentProps & WithClassModifierOptions; +export type FooterCoreProps = FooterCoreComponentProps & + WithClassModifierOptions; const enhance = compose( withClassDefault(DEFAULT_CLASSNAME),