Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/UI #98

Merged
merged 15 commits into from
Apr 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(webapp): fixed all dates format
  • Loading branch information
AngeloCG97 committed Mar 31, 2023
commit bdaaa033c0d4f1e734d45068e8e63e9d7e7ce6cd
7 changes: 3 additions & 4 deletions packages/webapp/src/pages/election/round-video-upload.tsx
Original file line number Diff line number Diff line change
@@ -185,7 +185,7 @@ const RoundVideoUploadList = ({ electionState }: { electionState: string }) => {
message:
"There was an error uploading your video. Please try again.",
});
}
}
};

return (
@@ -280,9 +280,8 @@ const Header = ({
winner && isValidDelegate(winner.account)
? `Delegate: ${winner.name}`
: roundStartTime && roundEndTime
? `${roundStartTime
.utc()
.format("LT")} - ${roundEndTime.utc().format("LT")} UTC`
? `${roundStartTime.utc().format("LT")} - ${roundEndTime
.utc().format("LT")} UTC`
: "Consensus not achieved";

return (