Skip to content

Commit d5ec44e

Browse files
authored
Merge pull request #2321 from pyth-network/cprussin/minor-fixes
fix(insights): minor fixes
2 parents 3baa82c + b0c623a commit d5ec44e

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,14 @@ export const PriceComponentDrawer = ({
9393
<StatCard
9494
nonInteractive
9595
header="Aggregate Price"
96+
small
9697
stat={<LivePrice feedKey={feedKey} />}
9798
/>
9899
<StatCard
99100
nonInteractive
100101
header="Publisher Price"
101102
variant="primary"
103+
small
102104
stat={<LivePrice feedKey={feedKey} publisherKey={publisherKey} />}
103105
/>
104106
<StatCard

apps/insights/src/components/PriceFeed/publishers.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ type Props = {
2222
export const Publishers = async ({ params }: Props) => {
2323
const { slug } = await params;
2424
const symbol = decodeURIComponent(slug);
25-
const [feeds, pythnetPublishers, pythtestConformancePublishers] =
26-
await Promise.all([
27-
getFeeds(Cluster.Pythnet),
28-
getPublishers(Cluster.Pythnet, symbol),
29-
getPublishers(Cluster.PythtestConformance, symbol),
30-
]);
25+
const [
26+
feeds,
27+
pythnetPublishers, // , pythtestConformancePublishers
28+
] = await Promise.all([
29+
getFeeds(Cluster.Pythnet),
30+
getPublishers(Cluster.Pythnet, symbol),
31+
// getPublishers(Cluster.PythtestConformance, symbol),
32+
]);
3133
const feed = feeds.find((feed) => feed.symbol === symbol);
32-
const publishers = [...pythnetPublishers, ...pythtestConformancePublishers];
34+
// const publishers = [...pythnetPublishers, ...pythtestConformancePublishers];
35+
const publishers = [...pythnetPublishers];
3336
const metricsTime = pythnetPublishers.find(
3437
(publisher) => publisher.ranking !== undefined,
3538
)?.ranking?.time;

0 commit comments

Comments
 (0)