Skip to content

Commit

Permalink
update current year to just year
Browse files Browse the repository at this point in the history
  • Loading branch information
DAVID WICKMAN committed Sep 17, 2024
1 parent 4ad27fc commit 4b5baba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/components/CurrentYear.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ const CurrentYear = () => {
const currentYear = new Date().getFullYear();

return (
<div>
<p>The current year is: {currentYear}</p>
</div>
<span className="d-inline">{currentYear}</span>
);
};

Expand Down

0 comments on commit 4b5baba

Please sign in to comment.