From 368e11e17a97c503c8f021ccf50f747a38985270 Mon Sep 17 00:00:00 2001 From: Vamsi Krishna Date: Mon, 6 Sep 2021 22:04:43 +0530 Subject: [PATCH] fix: updated the footer year (#290) Co-authored-by: Palash <88981777+palash-signoz@users.noreply.github.com> --- frontend/src/modules/AppLayout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/modules/AppLayout.tsx b/frontend/src/modules/AppLayout.tsx index 278f079dd8..118d5270b1 100644 --- a/frontend/src/modules/AppLayout.tsx +++ b/frontend/src/modules/AppLayout.tsx @@ -15,6 +15,7 @@ interface BaseLayoutProps { const BaseLayout: React.FC = ({ children }) => { const location = useLocation(); const { dispatch } = useRoute(); + const currentYear = new Date().getFullYear(); useEffect(() => { dispatch({ type: 'ROUTE_IS_LOADED', payload: location.pathname }); @@ -29,7 +30,7 @@ const BaseLayout: React.FC = ({ children }) => { {children}