diff --git a/apps/insights/src/components/PriceComponentsCard/index.tsx b/apps/insights/src/components/PriceComponentsCard/index.tsx index 073ed4bf1f..0f5b4af7a2 100644 --- a/apps/insights/src/components/PriceComponentsCard/index.tsx +++ b/apps/insights/src/components/PriceComponentsCard/index.tsx @@ -160,6 +160,7 @@ export const ResolvedPriceComponentsCard = < numResults, numPages, mkPageLink, + isPending, } = useQueryParamFilterPagination( componentsFilteredByStatus, (component, search) => filter.contains(component.nameAsString, search), @@ -314,6 +315,7 @@ export const ResolvedPriceComponentsCard = < onStatusChange={updateStatus} showQuality={showQuality} setShowQuality={updateShowQuality} + isPending={isPending} {...props} /> ); @@ -354,6 +356,7 @@ type PriceComponentsCardProps< showQuality: boolean; setShowQuality: (newValue: boolean) => void; rows: (RowConfig & { nameAsString: string })[]; + isPending: boolean; } ); @@ -421,6 +424,7 @@ export const PriceComponentsCardContents = < : { value: props.search, onChange: props.onSearchChange, + isPending: props.isPending, })} /> diff --git a/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx b/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx index ab3c37b24c..c786442992 100644 --- a/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx +++ b/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx @@ -81,6 +81,7 @@ const ResolvedPriceFeedsCard = ({ priceFeeds, ...props }: Props) => { numResults, numPages, mkPageLink, + isPending, } = useQueryParamFilterPagination( feedsFilteredByAssetClass, () => true, @@ -188,6 +189,7 @@ const ResolvedPriceFeedsCard = ({ priceFeeds, ...props }: Props) => { onPageChange={updatePage} mkPageLink={mkPageLink} rows={rows} + isPending={isPending} {...props} /> ); @@ -221,6 +223,7 @@ type PriceFeedsCardContents = Pick & | "exponent" | "numPublishers" > & { textValue: string })[]; + isPending: boolean; } ); @@ -252,6 +255,7 @@ const PriceFeedsCardContents = ({ id, ...props }: PriceFeedsCardContents) => ( : { value: props.search, onChange: props.onSearchChange, + isPending: props.isPending, })} />