Skip to content

Commit

Permalink
Hardcode season duration (#867)
Browse files Browse the repository at this point in the history
### What
To get better UX for now let's change season duration to 7 weeks so it
indicates this is the last week of beta.


![image](https://github.com/tahowallet/dapp/assets/20949277/7c84911b-b929-4e89-bde8-4649a4fc61f6)
  • Loading branch information
michalinacienciala authored Dec 8, 2023
2 parents f499101 + 38041e1 commit 00a94c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ui/Island/RealmPanel/RealmPanelCountdown.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import {
selectSeasonDurationInWeeks,
// selectSeasonDurationInWeeks,
selectSeasonWeek,
selectWeekEndDate,
useDappSelector,
Expand All @@ -11,7 +11,8 @@ import Icon from "shared/components/Media/Icon"

export default function RealmPanelCountdown() {
const seasonWeek = useDappSelector(selectSeasonWeek)
const seasonDuration = useDappSelector(selectSeasonDurationInWeeks)
// TODO: for now we are hardcoding the season duration to 7 weeks to get better UX
const seasonDuration = 7 // useDappSelector(selectSeasonDurationInWeeks)
const weekEndDate = useDappSelector(selectWeekEndDate)

if (!weekEndDate) return null
Expand Down

0 comments on commit 00a94c3

Please sign in to comment.