Skip to content

Commit

Permalink
Dynamically changing the year for footer (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushyamig committed Apr 1, 2024
1 parent e30cb1c commit 24e3054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccm_web/client/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function Layout (props: LayoutProps): JSX.Element {
<div className={classes.spacing}>{props.children}</div>
<Divider className={classes.spacing} />
<footer>
<Typography>Copyright © 2022 The Regents of the University of Michigan</Typography>
<Typography>{`Copyright © ${new Date().getFullYear()} The Regents of the University of Michigan`}</Typography>
</footer>
</Grid>
</StyledGrid>
Expand Down

0 comments on commit 24e3054

Please sign in to comment.