Skip to content

Commit

Permalink
🪄 [QA] Update stage environments (#660)
Browse files Browse the repository at this point in the history
This is a pull request that upon merging will update stage environments
with recent `main` changes.
The environments that will be updated:
* Stage live: https://stage-live--taho-development.netlify.app/
* Stage fork: https://stage-fork--taho-development.netlify.app/

Read more: [Deployment to Production
Flow](https://github.com/tahowallet/dapp/blob/main/docs/testing-env.md)
  • Loading branch information
andreachapman authored Nov 8, 2023
2 parents a7c463d + fdf20b0 commit df4a5b3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ SEASON_LENGTH_IN_WEEKS=8
CONTRACT_DEPLOYMENT_BLOCK_NUMBER=553443
SEASON_START_DATE="2023-10-26"
SKIP_REACT_STRICT_MODE="false"
IS_COMING_SOON="true"
IS_COMING_SOON="true"
SHOW_WAITLIST="false"
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
29 changes: 16 additions & 13 deletions src/ui/Onboarding/JoinWaitlist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ export default function JoinWaitlist({
}: {
children: React.ReactNode
}) {
return (
<OnboardingModal
buttonLabel={
<>
Join waitlist{" "}
<Icon src={newTab} color="#000" height="24px" width="24px" />
</>
}
onClick={() => window.open(LINKS.WAITLIST)}
>
{children}
</OnboardingModal>
)
if (process.env.SHOW_WAITLIST === "true")
return (
<OnboardingModal
buttonLabel={
<>
Join waitlist{" "}
<Icon src={newTab} color="#000" height="24px" width="24px" />
</>
}
onClick={() => window.open(LINKS.WAITLIST)}
>
{children}
</OnboardingModal>
)

return <OnboardingModal>{children}</OnboardingModal>
}

0 comments on commit df4a5b3

Please sign in to comment.