File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
67
67
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
68
68
69
69
import {
70
- BASE_TIME_UNIT ,
71
70
BLOG_FEEDS ,
72
71
BLOGS_WITHOUT_FEED ,
73
72
CALENDAR_DISPLAY_COUNT ,
@@ -193,7 +192,8 @@ export const getStaticProps = (async ({ locale }) => {
193
192
metricResults,
194
193
rssData : { rssItems, blogLinks } ,
195
194
} ,
196
- revalidate : REVALIDATE_TIME ,
195
+ // TODO: re-enable revalidation once we have a workaround for failing builds
196
+ // revalidate: BASE_TIME_UNIT * 24,
197
197
}
198
198
} ) satisfies GetStaticProps < Props >
199
199
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
45
45
import { getLocaleTimestamp } from "@/lib/utils/time"
46
46
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
47
47
48
- import { BASE_TIME_UNIT } from "@/lib/constants"
49
-
50
48
import {
51
49
fetchEthereumEcosystemData ,
52
50
fetchEthereumStablecoinsData ,
@@ -192,7 +190,8 @@ export const getStaticProps = (async ({ locale }) => {
192
190
marketsHasError,
193
191
} ,
194
192
// 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,
196
195
}
197
196
} ) satisfies GetStaticProps < Props >
198
197
Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
40
40
import { getLocaleTimestamp } from "@/lib/utils/time"
41
41
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
42
42
43
- import { BASE_TIME_UNIT } from "@/lib/constants"
44
-
45
43
import rhino from "@/public/images/upgrades/upgrade_rhino.png"
46
44
47
45
type BenefitsType = {
@@ -182,7 +180,8 @@ export const getStaticProps = (async ({ locale }) => {
182
180
lastDeployLocaleTimestamp,
183
181
} ,
184
182
// 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,
186
185
}
187
186
} ) satisfies GetStaticProps < Props >
188
187
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
27
27
getSupportedLocaleWallets ,
28
28
} from "@/lib/utils/wallets"
29
29
30
- import { BASE_TIME_UNIT } from "@/lib/constants "
30
+ import { useWalletPersonas } from "../../hooks/useWalletPersonas "
31
31
32
32
import HeroImage from "@/public/images/wallets/wallet-hero.png"
33
33
@@ -80,7 +80,8 @@ export const getStaticProps = (async ({ locale }) => {
80
80
wallets,
81
81
} ,
82
82
// 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,
84
85
}
85
86
} ) satisfies GetStaticProps < Props >
86
87
You can’t perform that action at this time.
0 commit comments