File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Expand file tree Collapse file tree 4 files changed +15
-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,13 @@ import {
27
27
getSupportedLocaleWallets ,
28
28
} from "@/lib/utils/wallets"
29
29
30
- import { BASE_TIME_UNIT } from "@/lib/constants"
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"
31
37
32
38
import HeroImage from "@/public/images/wallets/wallet-hero.png"
33
39
@@ -80,7 +86,8 @@ export const getStaticProps = (async ({ locale }) => {
80
86
wallets,
81
87
} ,
82
88
// Updated once a day
83
- revalidate : BASE_TIME_UNIT * 24 ,
89
+ // TODO: re-enable revalidation once we have a workaround for failing builds
90
+ // revalidate: BASE_TIME_UNIT * 24,
84
91
}
85
92
} ) satisfies GetStaticProps < Props >
86
93
You can’t perform that action at this time.
0 commit comments