Skip to content

Commit

Permalink
Merge branch 'staging' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
corwintines authored Oct 23, 2024
2 parents a5c77ad + cf6f1b6 commit c97b61b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

import {
BASE_TIME_UNIT,
BLOG_FEEDS,
BLOGS_WITHOUT_FEED,
CALENDAR_DISPLAY_COUNT,
Expand Down Expand Up @@ -193,7 +192,8 @@ export const getStaticProps = (async ({ locale }) => {
metricResults,
rssData: { rssItems, blogLinks },
},
revalidate: REVALIDATE_TIME,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24,
}
}) satisfies GetStaticProps<Props>

Expand Down
5 changes: 2 additions & 3 deletions src/pages/stablecoins.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
import { getLocaleTimestamp } from "@/lib/utils/time"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

import { BASE_TIME_UNIT } from "@/lib/constants"

import {
fetchEthereumEcosystemData,
fetchEthereumStablecoinsData,
Expand Down Expand Up @@ -192,7 +190,8 @@ export const getStaticProps = (async ({ locale }) => {
marketsHasError,
},
// Updated once a week
revalidate: REVALIDATE_TIME,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24 * 7,
}
}) satisfies GetStaticProps<Props>

Expand Down
5 changes: 2 additions & 3 deletions src/pages/staking/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
import { getLocaleTimestamp } from "@/lib/utils/time"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

import { BASE_TIME_UNIT } from "@/lib/constants"

import rhino from "@/public/images/upgrades/upgrade_rhino.png"

type BenefitsType = {
Expand Down Expand Up @@ -182,7 +180,8 @@ export const getStaticProps = (async ({ locale }) => {
lastDeployLocaleTimestamp,
},
// Updated once a day
revalidate: REVALIDATE_TIME,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24,
}
}) satisfies GetStaticProps<Props>

Expand Down
11 changes: 9 additions & 2 deletions src/pages/wallets/find-wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ import {
getSupportedLocaleWallets,
} from "@/lib/utils/wallets"

import { BASE_TIME_UNIT } from "@/lib/constants"
import {
DEFAULT_LOCALE,
NAV_BAR_PX_HEIGHT,
WALLETS_FILTERS_DEFAULT,
} from "@/lib/constants"

import { useWalletPersonas } from "../../hooks/useWalletPersonas"

import HeroImage from "@/public/images/wallets/wallet-hero.png"

Expand Down Expand Up @@ -80,7 +86,8 @@ export const getStaticProps = (async ({ locale }) => {
wallets,
},
// Updated once a day
revalidate: BASE_TIME_UNIT * 24,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24,
}
}) satisfies GetStaticProps<Props>

Expand Down

0 comments on commit c97b61b

Please sign in to comment.