Skip to content

Commit 5617fa4

Browse files
committed
fix(footer): update copyright year to be dynamic based on current date
1 parent 37bedbc commit 5617fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const Footer = () => {
3939
</LinkWithArrow>
4040
</div>
4141
<div className="mt-6 sm:mt-0">
42-
&copy; 2024 {new URL(detailsForMetadata.baseUrl).hostname}
42+
&copy; {new Date(Date.now()).getFullYear()} {new URL(detailsForMetadata.baseUrl).hostname}
4343
</div>
4444
</div>
4545
</footer>

0 commit comments

Comments
 (0)