Skip to content

Commit 7ecbe8d

Browse files
committed
Dynamically setting the copyright year via getFullYear()
1 parent 86adcb3 commit 7ecbe8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function Footer() {
5151
</div>
5252
<div className={footerStyles.copyright}>
5353
<p>
54-
Web Dev Path 2021. All rights reserved.
54+
Web Dev Path {new Date().getFullYear()}. All rights reserved.
5555
</p>
5656
</div>
5757
</footer>

0 commit comments

Comments
 (0)