File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,8 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
59
59
return {
60
60
...network ,
61
61
txCosts : growThePieData . dailyTxCosts [ network . growthepieID ] ,
62
- tvl : l2beatData . data . projects [ network . l2beatID ] . tvs . breakdown . total ,
63
- networkMaturity : networkMaturity (
64
- l2beatData . data . projects [ network . l2beatID ]
65
- ) ,
62
+ tvl : l2beatData . projects [ network . l2beatID ] . tvs . breakdown . total ,
63
+ networkMaturity : networkMaturity ( l2beatData . projects [ network . l2beatID ] ) ,
66
64
activeAddresses : growThePieData . activeAddresses [ network . growthepieID ] ,
67
65
blockspaceData :
68
66
( growThePieBlockspaceData || { } ) [ network . growthepieID ] || null ,
Original file line number Diff line number Diff line change @@ -45,14 +45,13 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
45
45
const getRandomL2s = ( ) => {
46
46
let randomL2s = layer2Data . filter (
47
47
( network ) =>
48
- networkMaturity ( l2beatData . data . projects [ network . l2beatID ] ) === "robust"
48
+ networkMaturity ( l2beatData . projects [ network . l2beatID ] ) === "robust"
49
49
)
50
50
51
51
if ( randomL2s . length === 0 ) {
52
52
randomL2s = layer2Data . filter (
53
53
( network ) =>
54
- networkMaturity ( l2beatData . data . projects [ network . l2beatID ] ) ===
55
- "maturing"
54
+ networkMaturity ( l2beatData . projects [ network . l2beatID ] ) === "maturing"
56
55
)
57
56
}
58
57
@@ -86,7 +85,7 @@ export async function generateStaticParams() {
86
85
} ) )
87
86
}
88
87
89
- export const dynamicParams = false
88
+ export const dynamicParams = true
90
89
91
90
export async function generateMetadata ( {
92
91
params,
You can’t perform that action at this time.
0 commit comments