From 41d33936fad26cb903127796f77de267cb054a87 Mon Sep 17 00:00:00 2001 From: simkasss Date: Tue, 1 Aug 2023 13:36:48 +0300 Subject: [PATCH] update imports --- src/pages/data-feeds/examples.mdx | 3 ++- src/pages/data-feeds/feed-registry/index.mdx | 4 +++- src/pages/data-feeds/historical-data.mdx | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/data-feeds/examples.mdx b/src/pages/data-feeds/examples.mdx index 38c2b199c52..ae07146af7e 100644 --- a/src/pages/data-feeds/examples.mdx +++ b/src/pages/data-feeds/examples.mdx @@ -10,7 +10,8 @@ metadata: description: "How to use Chainlink Data Feeds in your smart contracts." --- -import { LatestPrice, priceFeedAddresses } from "@features/feeds" +import { LatestPrice } from "@features/feeds" +import { priceFeedAddresses } from "@features/data" import { Aside, CodeSample } from "@components" import { Tabs } from "@components/Tabs" import button from "@chainlink/design-system/button.module.css" diff --git a/src/pages/data-feeds/feed-registry/index.mdx b/src/pages/data-feeds/feed-registry/index.mdx index 9d921e4e8be..ce97bb8b771 100644 --- a/src/pages/data-feeds/feed-registry/index.mdx +++ b/src/pages/data-feeds/feed-registry/index.mdx @@ -14,7 +14,9 @@ whatsnext: } --- -import { RegistryPrice, registryAddresses } from "@features/feeds" +import { RegistryPrice } from "@features/feeds" +import { registryAddresses } from "@features/data" + import { Aside, ClickToZoom, CodeSample } from "@components" The Chainlink Feed Registry is an on-chain mapping of assets to feeds. It enables you to query Chainlink data feeds from asset addresses directly, without needing to know the feed contract addresses. They enable smart contracts to get the latest price of an asset in a single call, from a single contract. diff --git a/src/pages/data-feeds/historical-data.mdx b/src/pages/data-feeds/historical-data.mdx index 13c7fb5d05c..10afb62a498 100644 --- a/src/pages/data-feeds/historical-data.mdx +++ b/src/pages/data-feeds/historical-data.mdx @@ -9,7 +9,8 @@ metadata: description: "How to use Chainlink Data Feeds to retrieve historical data in your smart contracts." --- -import { HistoricalPrice, priceFeedAddresses } from "@features/feeds" +import { priceFeedAddresses } from "@features/data" +import { HistoricalPrice } from "@features/feeds" import { Aside, ClickToZoom, CodeSample } from "@components" import button from "@chainlink/design-system/button.module.css"