From d72ce491d3525f4cf5d8175ae0d76c9107988632 Mon Sep 17 00:00:00 2001 From: Eugene Date: Fri, 9 Feb 2024 22:18:10 +0100 Subject: [PATCH] docs: typos (#2684) Hi! While reviewing the documentation, I noticed a couple of minor typos in the `useIAP()` hook usage example. I am submitting this pull request to correct them. Please let me know if there are any additional changes or reviews needed. Thanks for maintaining such a helpful library! Best regards, Eugene --- docs/docs/api-reference/hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/api-reference/hooks.md b/docs/docs/api-reference/hooks.md index 41e10a911..0495acb38 100644 --- a/docs/docs/api-reference/hooks.md +++ b/docs/docs/api-reference/hooks.md @@ -34,7 +34,7 @@ const App = () => { products, promotedProductsIOS, subscriptions, - purchaseHistories, + purchaseHistory, availablePurchases, currentPurchase, currentPurchaseError, @@ -43,7 +43,7 @@ const App = () => { getProducts, getSubscriptions, getAvailablePurchases, - getPurchaseHistories, + getPurchaseHistory, } = useIAP(); const handlePurchase = async (sku: string) => {