From 56ca94c0ffdc24611313815f8af85d98d8da2edb Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 8 Nov 2024 11:35:49 +0100 Subject: [PATCH] fix: make the copyright year on the footer begin from 2024 --- components/Footer.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Footer.jsx b/components/Footer.jsx index 2a26278..1e5f66c 100644 --- a/components/Footer.jsx +++ b/components/Footer.jsx @@ -54,7 +54,8 @@ function Footer() {
- Copyright © 2023-{currentYear}{" "} + Copyright © {currentYear == 2024 ? "" : "2024-"} + {currentYear}{" "}