✏️ Fix typo in Readme (#26)
This commit is contained in:
parent
52c44d4f1f
commit
080bbec544
1 changed files with 2 additions and 2 deletions
|
@ -114,10 +114,10 @@ export const convertDollarAmountInCountryCurrency = (amountInDollar: number) =>
|
|||
either.map(convertDollarAmountToCountryCodeCurrency(amountInDollar)),
|
||||
);
|
||||
|
||||
const convertDollarAmountInCountryCodeCurrency =
|
||||
const convertDollarAmountToCountryCodeCurrency =
|
||||
(amountInDollar: number) => (countryCode: CountryCode) =>
|
||||
pipe(
|
||||
getCurrencyFromCountryCode(countryCode),
|
||||
getCountryCurrency(countryCode),
|
||||
option.map(convertFromDollarAmount(amountInDollar)),
|
||||
option.map(convertedAmount =>
|
||||
console.log(
|
||||
|
|
Reference in a new issue