Unverified Commit 368e11e1 authored by Vamsi Krishna's avatar Vamsi Krishna Committed by GitHub
Browse files

fix: updated the footer year (#290)

Co-authored-by: default avatarPalash <88981777+palash-signoz@users.noreply.github.com>
parent 118ee9dd
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
...@@ -15,6 +15,7 @@ interface BaseLayoutProps { ...@@ -15,6 +15,7 @@ interface BaseLayoutProps {
const BaseLayout: React.FC<BaseLayoutProps> = ({ children }) => { const BaseLayout: React.FC<BaseLayoutProps> = ({ children }) => {
const location = useLocation(); const location = useLocation();
const { dispatch } = useRoute(); const { dispatch } = useRoute();
const currentYear = new Date().getFullYear();
useEffect(() => { useEffect(() => {
dispatch({ type: 'ROUTE_IS_LOADED', payload: location.pathname }); dispatch({ type: 'ROUTE_IS_LOADED', payload: location.pathname });
...@@ -29,7 +30,7 @@ const BaseLayout: React.FC<BaseLayoutProps> = ({ children }) => { ...@@ -29,7 +30,7 @@ const BaseLayout: React.FC<BaseLayoutProps> = ({ children }) => {
{children} {children}
</Content> </Content>
<Footer style={{ textAlign: 'center', fontSize: 10 }}> <Footer style={{ textAlign: 'center', fontSize: 10 }}>
SigNoz Inc. ©2020 SigNoz Inc. ©{currentYear}
</Footer> </Footer>
</Layout> </Layout>
</Layout> </Layout>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment