From b2240923f0edfe8e572a2d387f3556b9514bb3ce Mon Sep 17 00:00:00 2001 From: Ali Asghar Ranjbar <72009720+AliAsgharRanjbar@users.noreply.github.com> Date: Wed, 7 Feb 2024 23:47:25 +0330 Subject: [PATCH] changed static years to be dynamic --- food-ordering-app/src/components/Footer.jsx | 2 +- personal-portfolio/src/components/Footer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/food-ordering-app/src/components/Footer.jsx b/food-ordering-app/src/components/Footer.jsx index b38401f08..58ed9d8c7 100644 --- a/food-ordering-app/src/components/Footer.jsx +++ b/food-ordering-app/src/components/Footer.jsx @@ -29,7 +29,7 @@ export const Footer = () => {
- © 2022 Food Delivery. All Rights Reserved. + © {new Date().getFullYear()} Food Delivery. All Rights Reserved.
diff --git a/personal-portfolio/src/components/Footer.js b/personal-portfolio/src/components/Footer.js index 09f0090dc..15f453b56 100644 --- a/personal-portfolio/src/components/Footer.js +++ b/personal-portfolio/src/components/Footer.js @@ -20,7 +20,7 @@ export const Footer = () => { Icon Icon -

Copyright 2022. All Rights Reserved

+

Copyright {new Date().getFullYear()}. All Rights Reserved