From fd24dea0415e64b6af9e55a9a13fa36990b8165f Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Sat, 7 Nov 2020 09:45:41 +0500 Subject: [PATCH] cleanup --- apps/mobile/src/components/Premium/PremiumDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/src/components/Premium/PremiumDialog.js b/apps/mobile/src/components/Premium/PremiumDialog.js index 3745be9b7..2e2bbe093 100644 --- a/apps/mobile/src/components/Premium/PremiumDialog.js +++ b/apps/mobile/src/components/Premium/PremiumDialog.js @@ -53,7 +53,7 @@ class PremiumDialog extends React.Component { } } - onSuccessfulSubscription = (subscription: RNIap.SubscriptionPurchase) => { + onSuccessfulSubscription = (subscription) => { const receipt = subscription.transactionReceipt; if (receipt) { @@ -64,7 +64,7 @@ class PremiumDialog extends React.Component { } }; - onSubscriptionError = (error: RNIap.PurchaseError) => { + onSubscriptionError = (error) => { console.log(error.message, 'Error'); ToastEvent.show(error.message); };