@@ -23,6 +23,7 @@ import { YesterdaysPricesProvider, ChangePercent } from "../ChangePercent";
2323import  {  LivePrice  }  from  "../LivePrices" ; 
2424import  {  PriceFeedIcon  }  from  "../PriceFeedIcon" ; 
2525import  {  PriceFeedTag  }  from  "../PriceFeedTag" ; 
26+ import  {  Stats  }  from  "../Stats" ; 
2627
2728const  PRICE_FEEDS_ANCHOR  =  "priceFeeds" ; 
2829
@@ -48,7 +49,7 @@ export const PriceFeeds = async () => {
4849    < div  className = { styles . priceFeeds } > 
4950      < h1  className = { styles . header } > Price Feeds</ h1 > 
5051      < div  className = { styles . body } > 
51-         < section   className = { styles . stats } > 
52+         < Stats > 
5253          < StatCard 
5354            variant = "primary" 
5455            header = "Active Feeds" 
@@ -74,7 +75,7 @@ export const PriceFeeds = async () => {
7475              corner = { < Info  weight = "fill"  /> } 
7576            /> 
7677          </ AssetClassesDrawer > 
77-         </ section > 
78+         </ Stats > 
7879        < YesterdaysPricesProvider 
7980          feeds = { Object . fromEntries ( 
8081            featuredRecentlyAdded . map ( ( {  symbol,  product } )  =>  [ 
@@ -165,32 +166,34 @@ const FeaturedFeedsCard = <T extends ElementType>({
165166} : FeaturedFeedsCardProps < T > )  =>  ( 
166167  < Card  { ...props } > 
167168    < div  className = { styles . featuredFeeds } > 
168-       { feeds . map ( ( feed )  =>  ( 
169-         < Card 
170-           key = { feed . product . price_account } 
171-           variant = "tertiary" 
172-           { ...( linkFeeds  &&  { 
173-             href : `/price-feeds/${ encodeURIComponent ( feed . symbol ) }  ` , 
174-           } ) } 
175-         > 
176-           < div  className = { styles . feedCardContents } > 
177-             < PriceFeedTag 
178-               symbol = { feed . product . display_symbol } 
179-               description = { feed . product . description } 
180-               icon = { < PriceFeedIcon  symbol = { feed . product . display_symbol }  /> } 
181-             /> 
182-             { showPrices  &&  ( 
183-               < div  className = { styles . prices } > 
184-                 < LivePrice  feedKey = { feed . product . price_account }  /> 
185-                 < ChangePercent 
186-                   className = { styles . changePercent } 
187-                   feedKey = { feed . product . price_account } 
188-                 /> 
189-               </ div > 
190-             ) } 
191-           </ div > 
192-         </ Card > 
193-       ) ) } 
169+       < Stats > 
170+         { feeds . map ( ( feed )  =>  ( 
171+           < Card 
172+             key = { feed . product . price_account } 
173+             variant = "tertiary" 
174+             { ...( linkFeeds  &&  { 
175+               href : `/price-feeds/${ encodeURIComponent ( feed . symbol ) }  ` , 
176+             } ) } 
177+           > 
178+             < div  className = { styles . feedCardContents } > 
179+               < PriceFeedTag 
180+                 symbol = { feed . product . display_symbol } 
181+                 description = { feed . product . description } 
182+                 icon = { < PriceFeedIcon  symbol = { feed . product . display_symbol }  /> } 
183+               /> 
184+               { showPrices  &&  ( 
185+                 < div  className = { styles . prices } > 
186+                   < LivePrice  feedKey = { feed . product . price_account }  /> 
187+                   < ChangePercent 
188+                     className = { styles . changePercent } 
189+                     feedKey = { feed . product . price_account } 
190+                   /> 
191+                 </ div > 
192+               ) } 
193+             </ div > 
194+           </ Card > 
195+         ) ) } 
196+       </ Stats > 
194197    </ div > 
195198  </ Card > 
196199) ; 
0 commit comments