Skip to content

Commit

Permalink
Hide real allocatable xp for now (#659)
Browse files Browse the repository at this point in the history
In case we don't want to confuse users with super high XP... 🤫
  • Loading branch information
Shadowfiend authored Nov 8, 2023
2 parents 87eae64 + 2573bbb commit fdf20b0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/ui/Island/RealmDetails/Quests/QuestsDetails.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect } from "react"
import React from "react"
import {
selectIsEndOfSeason,
selectRealmById,
// selectRealmById,
selectSeasonDurationInWeeks,
selectSeasonWeek,
selectWeekEndDate,
Expand All @@ -24,7 +24,7 @@ export default function QuestsDetails({
const seasonWeek = useDappSelector(selectSeasonWeek)
const duration = useDappSelector(selectSeasonDurationInWeeks)
const isEndOfSeason = useDappSelector(selectIsEndOfSeason)
const realm = useDappSelector((state) => selectRealmById(state, realmId))
// const realm = useDappSelector((state) => selectRealmById(state, realmId))

return (
<div className="content">
Expand Down Expand Up @@ -57,7 +57,9 @@ export default function QuestsDetails({
width="32px"
color="var(--primary-p1-100)"
/>
{separateThousandsByComma(realm?.xpAllocatable || WEEKLY_XP_ALLOCATION)}
{separateThousandsByComma(
/* realm?.xpAllocatable || */ WEEKLY_XP_ALLOCATION
)}
</h1>
{tokenSymbol}
</div>
Expand Down

0 comments on commit fdf20b0

Please sign in to comment.