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}