We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f19ec27 commit e70b6d9Copy full SHA for e70b6d9
front-end/src/Footer.js
@@ -1,11 +1,13 @@
1
-import "./Footer.css"
+import "./Footer.css";
2
+
3
+const Footer = (props) => {
4
+ const year = new Date().getFullYear();
5
-const Footer = props => {
6
return (
7
<footer>
- <p>© 2021. All rights reserved.</p>
8
+ <p>© {year}. All rights reserved.</p>
9
</footer>
- )
-}
10
+ );
11
+};
12
-export default Footer
13
+export default Footer;
0 commit comments