diff --git a/src/types/FooterTypes.js b/src/types/FooterTypes.js index 8e96bd7..658f0b1 100644 --- a/src/types/FooterTypes.js +++ b/src/types/FooterTypes.js @@ -18,6 +18,8 @@ import { import { IoLogoGooglePlaystore } from 'react-icons/io5'; import { SiGitbook } from 'react-icons/si'; +const currentYear = new Date().getFullYear() || 2023; + export const FooterTypes = { FOOTER_ITEMS: { PRIMARY: { @@ -163,7 +165,7 @@ export const FooterTypes = { { href: null, target: '_blank', - label: 'Copyright © 2014-2022 www.nexus.io', + label: `Copyright © 2014-${currentYear} www.nexus.io`, icon: undefined, }, ],