Skip to content

Commit

Permalink
year
Browse files Browse the repository at this point in the history
  • Loading branch information
bloombar committed Sep 30, 2024
1 parent f19ec27 commit e70b6d9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions front-end/src/Footer.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import "./Footer.css"
import "./Footer.css";

const Footer = (props) => {
const year = new Date().getFullYear();

const Footer = props => {
return (
<footer>
<p>&copy; 2021. All rights reserved.</p>
<p>&copy; {year}. All rights reserved.</p>
</footer>
)
}
);
};

export default Footer
export default Footer;

0 comments on commit e70b6d9

Please sign in to comment.