Skip to content

Commit

Permalink
Prettify frontend code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadesh-Baral committed Jul 20, 2023
1 parent e9695f2 commit fac4bcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/views/challengeDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ const ChallengeInfoSection = ({ challenge, height }) => {
const maxPadding = "pt-2";

const createdDate = new Date(challenge.created);
const formattedDate = createdDate.toLocaleDateString('en-US', {
day: '2-digit',
month: 'short',
year: 'numeric'
const formattedDate = createdDate.toLocaleDateString("en-US", {
day: "2-digit",
month: "short",
year: "numeric",
});

return (
Expand Down

0 comments on commit fac4bcf

Please sign in to comment.