diff --git a/package-lock.json b/package-lock.json index 9c165f687..76cba2a7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rif-marketplace-ui", - "version": "1.4.1", + "version": "1.4.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -19719,4 +19719,4 @@ "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=" } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index a509097d4..3d897ffd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rif-marketplace-ui", - "version": "1.4.1", + "version": "1.4.2", "description": "RIF Marketplace provides a digital catalogue with a wide range of decentralised services.", "keywords": [ "RIF", @@ -107,4 +107,4 @@ "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/__mocks__/fileMock.ts" } } -} +} \ No newline at end of file diff --git a/src/components/organisms/notifier/buy/CheckoutPayment.tsx b/src/components/organisms/notifier/buy/CheckoutPayment.tsx index f677c42ad..feab880f5 100644 --- a/src/components/organisms/notifier/buy/CheckoutPayment.tsx +++ b/src/components/organisms/notifier/buy/CheckoutPayment.tsx @@ -61,7 +61,7 @@ const CheckoutPayment: FC = ({ web3 as Web3, account as string, selectedTokenSymbol, ) setHasEnoughFunds(Big(balance).gte(cryptoPrice)) - } catch (error: any) { + } catch (error) { reportError({ error, id: 'get-balance', diff --git a/src/components/pages/notifier/buy/NotifierOfferCheckoutPage.tsx b/src/components/pages/notifier/buy/NotifierOfferCheckoutPage.tsx index 038326423..9e7666cd9 100644 --- a/src/components/pages/notifier/buy/NotifierOfferCheckoutPage.tsx +++ b/src/components/pages/notifier/buy/NotifierOfferCheckoutPage.tsx @@ -122,7 +122,7 @@ const NotifierOfferCheckoutPage: FC = () => { }, }) } - } catch (error: any) { + } catch (error) { const { customMessage } = error reportError({ error, diff --git a/src/components/pages/notifier/mypurchase/NotifierMyPurchasePage.tsx b/src/components/pages/notifier/mypurchase/NotifierMyPurchasePage.tsx index ac27413c4..2f35ea2c3 100644 --- a/src/components/pages/notifier/mypurchase/NotifierMyPurchasePage.tsx +++ b/src/components/pages/notifier/mypurchase/NotifierMyPurchasePage.tsx @@ -225,7 +225,7 @@ const NotifierMyPurchasePage: FC = () => { }, }) } - } catch (error: any) { + } catch (error) { const { customMessage } = error reportError({ error,