From b0c623a3ab8000367efe4936a21970948190da00 Mon Sep 17 00:00:00 2001 From: Connor Prussin Date: Sun, 2 Feb 2025 22:52:00 -0800 Subject: [PATCH] fix(insights): minor fixes - Make prices smaller in price component drawer - Hide test components for now - I need to do some more work to ensure the live prices, drawer, and test components are working properly so for now I'll hide these until I can get that work done --- .../components/PriceComponentDrawer/index.tsx | 2 ++ .../src/components/PriceFeed/publishers.tsx | 17 ++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/apps/insights/src/components/PriceComponentDrawer/index.tsx b/apps/insights/src/components/PriceComponentDrawer/index.tsx index aa7862043a..a1d02a6b59 100644 --- a/apps/insights/src/components/PriceComponentDrawer/index.tsx +++ b/apps/insights/src/components/PriceComponentDrawer/index.tsx @@ -93,12 +93,14 @@ export const PriceComponentDrawer = ({ } /> } /> { const { slug } = await params; const symbol = decodeURIComponent(slug); - const [feeds, pythnetPublishers, pythtestConformancePublishers] = - await Promise.all([ - getFeeds(Cluster.Pythnet), - getPublishers(Cluster.Pythnet, symbol), - getPublishers(Cluster.PythtestConformance, symbol), - ]); + const [ + feeds, + pythnetPublishers, // , pythtestConformancePublishers + ] = await Promise.all([ + getFeeds(Cluster.Pythnet), + getPublishers(Cluster.Pythnet, symbol), + // getPublishers(Cluster.PythtestConformance, symbol), + ]); const feed = feeds.find((feed) => feed.symbol === symbol); - const publishers = [...pythnetPublishers, ...pythtestConformancePublishers]; + // const publishers = [...pythnetPublishers, ...pythtestConformancePublishers]; + const publishers = [...pythnetPublishers]; const metricsTime = pythnetPublishers.find( (publisher) => publisher.ranking !== undefined, )?.ranking?.time;