Skip to content

Commit 0decdc8

Browse files
committed
issue:14910 added functionality to highlight robust and maturing networks
1 parent af260a1 commit 0decdc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/layer-2/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const getStaticProps = (async ({ locale }) => {
7070
)
7171
}
7272

73-
return randomL2s.sort(() => 0.5 - Math.random()).slice(0, 9)
73+
return randomL2s.sort(() => 0.5 - Math.random()).slice(0, 3)
7474
}
7575

7676
const randomL2s = layer2Data.sort(() => 0.5 - Math.random()).slice(0, 9)
@@ -417,7 +417,7 @@ const Layer2Hub = ({
417417
<div id="layer-2-cta" className="w-full px-8 py-9">
418418
<div className="mx-auto flex max-w-[640px] flex-col gap-6 rounded bg-main-gradient p-8">
419419
<div className="flex flex-col gap-6">
420-
{userRandomL2s.slice(0, 3).map((l2, idx) => {
420+
{userRandomL2s.map((l2, idx) => {
421421
return (
422422
<div
423423
key={idx}

0 commit comments

Comments
 (0)