Skip to content

Commit

Permalink
update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
simkasss committed Aug 1, 2023
1 parent 618066a commit 41d3393
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/pages/data-feeds/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion src/pages/data-feeds/feed-registry/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion src/pages/data-feeds/historical-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 41d3393

Please sign in to comment.