From 2906087459590329caa7a7f365f1b4b98bfefe1b Mon Sep 17 00:00:00 2001 From: Purna Shrestha <107195487+purnasth@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:40:28 +0545 Subject: [PATCH] [fix]: Update Copyright Date to Dynamically Display Current Year --- src/ui/components/Footer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/components/Footer.tsx b/src/ui/components/Footer.tsx index 3b8b947db..39cf4fdf3 100644 --- a/src/ui/components/Footer.tsx +++ b/src/ui/components/Footer.tsx @@ -7,6 +7,7 @@ export async function Footer() { variables: { slug: "footer" }, revalidate: 60 * 60 * 24, }); + const currentYear = new Date().getFullYear(); return (