Skip to content

Commit 5fdb6a2

Browse files
authored
Merge pull request #1696 from saranshkataria/master
updated footer to get year based on current date
2 parents 3b1ed3c + cbe648e commit 5fdb6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/LayoutFooter/Footer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
179179
color: colors.subtleOnDark,
180180
paddingTop: 15,
181181
}}>
182-
Copyright © 2019 Facebook Inc.
182+
{`Copyright © ${new Date().getFullYear()} Facebook Inc.`}
183183
</p>
184184
</section>
185185
</div>

0 commit comments

Comments
 (0)