From 58b44f179e6fb50542cf63dc6ac805fcf6294adf Mon Sep 17 00:00:00 2001 From: Monika Wiercinska Date: Tue, 13 Aug 2024 17:23:24 +0100 Subject: [PATCH] update readme --- lib/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/README.md b/lib/README.md index 8c80374..894b88b 100644 --- a/lib/README.md +++ b/lib/README.md @@ -35,9 +35,9 @@ const Page = () => { The component's primary source of icons is Ledger's CDN which contains the [assets](../assets/index.json) from this repository. It attempts to fetch a [mapping from Ledger's CDN](https://crypto-icons.ledger.com/index.json) and if the ledgerId that is passed in as a prop to the component is found, the URL for that key is used as the image source. You can see an up-to-date list of all available Ledger icons in this [Storybook](https://crypto-icons-storybook.pages.dev). -Otherwise, a request to the [Ledger mapping service](https://ledgerhq.atlassian.net/wiki/spaces/BE/pages/3973022073/Mapping+Service) is made to retrieve a [CoinGecko mapping](https://mapping-service.api.ledger.com/v1/coingecko/mapped-assets) as a fallback. +Otherwise, a request to the [Ledger mapping service](https://ledgerhq.atlassian.net/wiki/spaces/BE/pages/3973022073/Mapping+Service) is made to retrieve a [CoinGecko mapping](https://mapping-service.api.ledger.com/v1/coingecko/mapped-assets) as a fallback. If a match for an icon is found using the ledgerId then it is used as the image source. -If a match for an icon is found using the ledgerId then it is used as the image source. If neither mapping has a match, a `` component is returned with the first letter of the currency ticker as its content e.g. B for BTC. +If neither mapping has a match, a `` component is returned with the first letter of the currency ticker as its content e.g. B for BTC. ```mermaid flowchart TD