Skip to content

Commit 0210b09

Browse files
fix(insights): rename featuredRecentlyAdded prop to featuredFeeds
Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
1 parent dc8fa11 commit 0210b09

File tree

1 file changed

+6
-6
lines changed
  • apps/insights/src/components/PriceFeeds

1 file changed

+6
-6
lines changed

apps/insights/src/components/PriceFeeds/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const PriceFeeds = async () => {
8787
<FeaturedFeeds
8888
allComingSoon={priceFeeds.comingSoon}
8989
featuredComingSoon={featuredComingSoon.slice(0, 5)}
90-
featuredRecentlyAdded={featuredFeeds.slice(0, 5)}
90+
featuredFeeds={featuredFeeds.slice(0, 5)}
9191
/>
9292
<PriceFeedsCard
9393
id={PRICE_FEEDS_ANCHOR}
@@ -120,7 +120,7 @@ export const PriceFeeds = async () => {
120120
<FeaturedFeeds
121121
allComingSoon={priceFeeds.comingSoon}
122122
featuredComingSoon={featuredComingSoon}
123-
featuredRecentlyAdded={featuredFeeds}
123+
featuredFeeds={featuredFeeds}
124124
/>
125125
</UnstyledTabPanel>
126126
</UnstyledTabs>
@@ -129,20 +129,20 @@ export const PriceFeeds = async () => {
129129
};
130130

131131
type FeaturedFeedsProps = {
132-
featuredRecentlyAdded: FeaturedFeed[];
132+
featuredFeeds: FeaturedFeed[];
133133
featuredComingSoon: FeaturedFeed[];
134134
allComingSoon: { symbol: string }[];
135135
};
136136

137137
const FeaturedFeeds = ({
138-
featuredRecentlyAdded,
138+
featuredFeeds,
139139
featuredComingSoon,
140140
allComingSoon,
141141
}: FeaturedFeedsProps) => (
142142
<>
143143
<YesterdaysPricesProvider
144144
feeds={Object.fromEntries(
145-
featuredRecentlyAdded.map(({ symbol, product }) => [
145+
featuredFeeds.map(({ symbol, product }) => [
146146
symbol,
147147
product.price_account,
148148
]),
@@ -151,7 +151,7 @@ const FeaturedFeeds = ({
151151
<FeaturedFeedsCard
152152
title="Featured"
153153
icon={<Star />}
154-
feeds={featuredRecentlyAdded}
154+
feeds={featuredFeeds}
155155
showPrices
156156
linkFeeds
157157
/>

0 commit comments

Comments
 (0)