mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 15:59:04 +08:00
fix: updated the footer year (#290)
Co-authored-by: Palash <88981777+palash-signoz@users.noreply.github.com>
This commit is contained in:
parent
118ee9dd90
commit
368e11e17a
@ -15,6 +15,7 @@ interface BaseLayoutProps {
|
||||
const BaseLayout: React.FC<BaseLayoutProps> = ({ 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<BaseLayoutProps> = ({ children }) => {
|
||||
{children}
|
||||
</Content>
|
||||
<Footer style={{ textAlign: 'center', fontSize: 10 }}>
|
||||
SigNoz Inc. ©2020
|
||||
SigNoz Inc. ©{currentYear}
|
||||
</Footer>
|
||||
</Layout>
|
||||
</Layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user