Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/insights/src/components/PriceFeeds/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ArrowLineDown } from "@phosphor-icons/react/dist/ssr/ArrowLineDown";
import { ArrowSquareOut } from "@phosphor-icons/react/dist/ssr/ArrowSquareOut";
import { ArrowsOutSimple } from "@phosphor-icons/react/dist/ssr/ArrowsOutSimple";
import { ClockCountdown } from "@phosphor-icons/react/dist/ssr/ClockCountdown";
import { StackPlus } from "@phosphor-icons/react/dist/ssr/StackPlus";
import { Star } from "@phosphor-icons/react/dist/ssr/Star";
import { Badge } from "@pythnetwork/component-library/Badge";
import { Button } from "@pythnetwork/component-library/Button";
import {
Expand Down Expand Up @@ -50,7 +50,7 @@ export const PriceFeeds = async () => {
].slice(0, 6);
const featuredRecentlyAdded = filterFeeds(
priceFeeds.activeFeeds,
priceFeedsStaticConfig.featuredRecentlyAdded,
priceFeedsStaticConfig.featuredFeeds,
);

return (
Expand Down Expand Up @@ -149,8 +149,8 @@ const FeaturedFeeds = ({
)}
>
<FeaturedFeedsCard
title="Recently Added"
icon={<StackPlus />}
title="Featured"
icon={<Star />}
feeds={featuredRecentlyAdded}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update this variable to be named featuredFeeds instead

showPrices
linkFeeds
Expand Down
14 changes: 7 additions & 7 deletions apps/insights/src/static-data/price-feeds.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export const priceFeeds = {
updateFrequency: "400ms",
featuredRecentlyAdded: [
"Crypto.PYTH/USD",
"FX.EUR/USD",
"Equity.US.NFLX/USD",
"Commodities.WTI1M",
"Crypto.1INCH/USD",
"Equity.US.META/USD",
featuredFeeds: [
"Crypto.ARC/USD",
"Crypto.CDXUSD/USD",
"Equity.GB.CSPX/USD",
"Crypto.MSUSD/USD",
"Crypto.WSTHYPE/STHYPE.RR",
"Crypto.YNETHX/WETH.RR",
],
featuredComingSoon: ["Rates.US1Y"],
};
Loading