updated footer to get year based on current date

This commit is contained in:
Saransh Kataria
2019-02-16 14:35:03 -08:00
committed by GitHub
parent 99e97c33ae
commit cbe648ede3

View File

@@ -179,7 +179,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
color: colors.subtleOnDark,
paddingTop: 15,
}}>
Copyright © 2019 Facebook Inc.
{`Copyright © ${new Date().getFullYear()} Facebook Inc.`}
</p>
</section>
</div>