File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
apps/insights/src/components/PriceFeeds Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export const PriceFeeds = async () => {
87
87
< FeaturedFeeds
88
88
allComingSoon = { priceFeeds . comingSoon }
89
89
featuredComingSoon = { featuredComingSoon . slice ( 0 , 5 ) }
90
- feeds = { featuredFeeds . slice ( 0 , 5 ) }
90
+ featuredRecentlyAdded = { featuredFeeds . slice ( 0 , 5 ) }
91
91
/>
92
92
< PriceFeedsCard
93
93
id = { PRICE_FEEDS_ANCHOR }
@@ -120,7 +120,7 @@ export const PriceFeeds = async () => {
120
120
< FeaturedFeeds
121
121
allComingSoon = { priceFeeds . comingSoon }
122
122
featuredComingSoon = { featuredComingSoon }
123
- feeds = { featuredFeeds }
123
+ featuredRecentlyAdded = { featuredFeeds }
124
124
/>
125
125
</ UnstyledTabPanel >
126
126
</ UnstyledTabs >
@@ -129,26 +129,29 @@ export const PriceFeeds = async () => {
129
129
} ;
130
130
131
131
type FeaturedFeedsProps = {
132
- feeds : FeaturedFeed [ ] ;
132
+ featuredRecentlyAdded : FeaturedFeed [ ] ;
133
133
featuredComingSoon : FeaturedFeed [ ] ;
134
134
allComingSoon : { symbol : string } [ ] ;
135
135
} ;
136
136
137
137
const FeaturedFeeds = ( {
138
- feeds ,
138
+ featuredRecentlyAdded ,
139
139
featuredComingSoon,
140
140
allComingSoon,
141
141
} : FeaturedFeedsProps ) => (
142
142
< >
143
143
< YesterdaysPricesProvider
144
144
feeds = { Object . fromEntries (
145
- feeds . map ( ( { symbol, product } ) => [ symbol , product . price_account ] ) ,
145
+ featuredRecentlyAdded . map ( ( { symbol, product } ) => [
146
+ symbol ,
147
+ product . price_account ,
148
+ ] ) ,
146
149
) }
147
150
>
148
151
< FeaturedFeedsCard
149
152
title = "Featured"
150
153
icon = { < Star /> }
151
- feeds = { feeds }
154
+ feeds = { featuredRecentlyAdded }
152
155
showPrices
153
156
linkFeeds
154
157
/>
You can’t perform that action at this time.
0 commit comments