Skip to content

Commit

Permalink
Change current week on beta close (#884)
Browse files Browse the repository at this point in the history
## What has been done

Week counter went above season duration, changed to be 7/7

## Testing

- [x] Set `BETA_IS_CLOSED` flag to `true` - current week is 7/7

## Screenshots / images / videos

![Zrzut ekranu 2023-12-14 o 10 15
54](https://github.com/tahowallet/dapp/assets/73061939/0c2123c4-49ac-4eb2-a9c1-c494fc128e48)
  • Loading branch information
jagodarybacka authored Dec 14, 2023
2 parents 61c4b45 + 5090078 commit 2f4775b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ui/Island/RealmPanel/RealmPanelCountdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export default function RealmPanelCountdown() {
)}
<div className="column">
<div className="week">
Week {seasonWeek}{" "}
Week{" "}
{process.env.IS_BETA_CLOSED === "true"
? seasonDuration
: seasonWeek}{" "}
<span style={{ fontSize: 16, color: "var(--secondary-s1-50)" }}>
/ {seasonDuration}
</span>
Expand Down

0 comments on commit 2f4775b

Please sign in to comment.