Skip to content

Commit 6235ce7

Browse files
committed
refactor: simplify verifiers mapping in Chain component
1 parent 20dc73c commit 6235ce7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/CCIP/Chain/Chain.astro

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,7 @@ const chainStructuredData = generateChainStructuredData(
113113
network={network}
114114
environment={environment}
115115
lanes={searchLanes}
116-
verifiers={allVerifiers.map((verifier) => ({
117-
id: verifier.id,
118-
name: verifier.name,
119-
type: verifier.type,
120-
logo: verifier.logo,
121-
totalNetworks: verifier.totalNetworks,
122-
}))}
116+
verifiers={allVerifiers}
123117
client:load
124118
/>
125119
<section class="layout">

0 commit comments

Comments
 (0)