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