Skip to content

Commit 5de3fd1

Browse files
committed
[fix] Fix copyright year
1 parent 19dc005 commit 5de3fd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/copyright.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import React from 'react';
22
import Glyphicon from 'react-bootstrap/es/Glyphicon.js';
33

44
export default () => {
5+
const year = new Date().getFullYear();
56
return (
67
<div className="copyright">
78
<a className="copyright__author" href="mailto:[email protected]">
89
Andrey Kuznetsov
910
</a>
1011
<Glyphicon glyph="copyright-mark"/>
11-
<span className="copyright__year">2021</span>
12+
<span className="copyright__year">{year}</span>
1213
</div>
1314
);
1415
};

0 commit comments

Comments
 (0)