File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
app/[locale]/resources/_components Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,12 @@ const ResourcesPage = ({ txCostsMedianUsd }: ResourcesPageProps) => {
125
125
< div className = "h-full bg-background bg-gradient-to-br from-white to-primary/10 px-2 py-6 dark:from-transparent dark:to-primary/10" >
126
126
{ metric && metric }
127
127
< ResourcesContainer >
128
- { items . map ( ( item ) => (
129
- < ResourceItem item = { item } key = { item . title } />
128
+ { items . map ( ( { className, ...item } ) => (
129
+ < ResourceItem
130
+ item = { item }
131
+ key = { item . title }
132
+ className = { className }
133
+ />
130
134
) ) }
131
135
</ ResourcesContainer >
132
136
</ div >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export type Item = {
5
5
description : string
6
6
href : string
7
7
imgSrc : StaticImageData
8
+ className ?: string
8
9
}
9
10
10
11
export type DashboardBox = {
You can’t perform that action at this time.
0 commit comments