diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 8056dfba0f1..93b655ff9c8 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -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, @@ -174,7 +173,8 @@ export const getStaticProps = (async ({ locale }) => { metricResults, rssData: { rssItems, blogLinks }, }, - revalidate: BASE_TIME_UNIT * 24, + // TODO: re-enable revalidation once we have a workaround for failing builds + // revalidate: BASE_TIME_UNIT * 24, } }) satisfies GetStaticProps diff --git a/src/pages/stablecoins.tsx b/src/pages/stablecoins.tsx index a0f7b266637..0adda864981 100644 --- a/src/pages/stablecoins.tsx +++ b/src/pages/stablecoins.tsx @@ -44,8 +44,6 @@ import { runOnlyOnce } from "@/lib/utils/runOnlyOnce" import { getLocaleTimestamp } from "@/lib/utils/time" import { getRequiredNamespacesForPage } from "@/lib/utils/translations" -import { BASE_TIME_UNIT } from "@/lib/constants" - import { fetchEthereumEcosystemData, fetchEthereumStablecoinsData, @@ -189,7 +187,8 @@ export const getStaticProps = (async ({ locale }) => { marketsHasError, }, // Updated once a week - revalidate: BASE_TIME_UNIT * 24 * 7, + // TODO: re-enable revalidation once we have a workaround for failing builds + // revalidate: BASE_TIME_UNIT * 24 * 7, } }) satisfies GetStaticProps diff --git a/src/pages/staking/index.tsx b/src/pages/staking/index.tsx index ab418a02e45..02be741926c 100644 --- a/src/pages/staking/index.tsx +++ b/src/pages/staking/index.tsx @@ -40,8 +40,6 @@ import { runOnlyOnce } from "@/lib/utils/runOnlyOnce" 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 = { @@ -176,7 +174,8 @@ export const getStaticProps = (async ({ locale }) => { lastDeployLocaleTimestamp, }, // 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 diff --git a/src/pages/wallets/find-wallet.tsx b/src/pages/wallets/find-wallet.tsx index 34eb5c8491f..de2692c15b5 100644 --- a/src/pages/wallets/find-wallet.tsx +++ b/src/pages/wallets/find-wallet.tsx @@ -32,7 +32,6 @@ import { } from "@/lib/utils/wallets" import { - BASE_TIME_UNIT, DEFAULT_LOCALE, NAV_BAR_PX_HEIGHT, WALLETS_FILTERS_DEFAULT, @@ -93,7 +92,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