Skip to content

Commit 3e4563d

Browse files
Merge pull request #3562 from gitcoinco/fix-builder-dates
fix builder round dates
2 parents 6338780 + 78644d6 commit 3e4563d

File tree

1 file changed

+2
-2
lines changed
  • packages/builder/src/components/rounds

1 file changed

+2
-2
lines changed

packages/builder/src/components/rounds/Show.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ function ShowRound() {
148148
const isDirectRound: boolean =
149149
roundState?.round?.payoutStrategy === RoundCategory.Direct;
150150

151-
const roundStartTime = !isDirectRound
151+
const roundStartTime = isDirectRound
152152
? roundState?.round?.applicationsStartTime
153153
: roundState?.round?.roundStartTime;
154-
const roundEndTime = !isDirectRound
154+
const roundEndTime = isDirectRound
155155
? roundState?.round?.applicationsEndTime
156156
: roundState?.round?.roundEndTime;
157157

0 commit comments

Comments
 (0)