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