Skip to content

Commit 95a2d74

Browse files
authored
Merge branch 'staging' into dev
2 parents a5c77ad + cf6f1b6 commit 95a2d74

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
6767
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
6868

6969
import {
70-
BASE_TIME_UNIT,
7170
BLOG_FEEDS,
7271
BLOGS_WITHOUT_FEED,
7372
CALENDAR_DISPLAY_COUNT,
@@ -193,7 +192,8 @@ export const getStaticProps = (async ({ locale }) => {
193192
metricResults,
194193
rssData: { rssItems, blogLinks },
195194
},
196-
revalidate: REVALIDATE_TIME,
195+
// TODO: re-enable revalidation once we have a workaround for failing builds
196+
// revalidate: BASE_TIME_UNIT * 24,
197197
}
198198
}) satisfies GetStaticProps<Props>
199199

src/pages/stablecoins.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
4545
import { getLocaleTimestamp } from "@/lib/utils/time"
4646
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
4747

48-
import { BASE_TIME_UNIT } from "@/lib/constants"
49-
5048
import {
5149
fetchEthereumEcosystemData,
5250
fetchEthereumStablecoinsData,
@@ -192,7 +190,8 @@ export const getStaticProps = (async ({ locale }) => {
192190
marketsHasError,
193191
},
194192
// Updated once a week
195-
revalidate: REVALIDATE_TIME,
193+
// TODO: re-enable revalidation once we have a workaround for failing builds
194+
// revalidate: BASE_TIME_UNIT * 24 * 7,
196195
}
197196
}) satisfies GetStaticProps<Props>
198197

src/pages/staking/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
4040
import { getLocaleTimestamp } from "@/lib/utils/time"
4141
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
4242

43-
import { BASE_TIME_UNIT } from "@/lib/constants"
44-
4543
import rhino from "@/public/images/upgrades/upgrade_rhino.png"
4644

4745
type BenefitsType = {
@@ -182,7 +180,8 @@ export const getStaticProps = (async ({ locale }) => {
182180
lastDeployLocaleTimestamp,
183181
},
184182
// Updated once a day
185-
revalidate: REVALIDATE_TIME,
183+
// TODO: re-enable revalidation once we have a workaround for failing builds
184+
// revalidate: BASE_TIME_UNIT * 24,
186185
}
187186
}) satisfies GetStaticProps<Props>
188187

src/pages/wallets/find-wallet.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
getSupportedLocaleWallets,
2828
} from "@/lib/utils/wallets"
2929

30-
import { BASE_TIME_UNIT } from "@/lib/constants"
30+
import { useWalletPersonas } from "../../hooks/useWalletPersonas"
3131

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

@@ -80,7 +80,8 @@ export const getStaticProps = (async ({ locale }) => {
8080
wallets,
8181
},
8282
// Updated once a day
83-
revalidate: BASE_TIME_UNIT * 24,
83+
// TODO: re-enable revalidation once we have a workaround for failing builds
84+
// revalidate: BASE_TIME_UNIT * 24,
8485
}
8586
}) satisfies GetStaticProps<Props>
8687

0 commit comments

Comments
 (0)