Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
fix(hotfix): v1.4.2
Browse files Browse the repository at this point in the history
- removes breaking typing of errors
  • Loading branch information
jurajpiar committed Sep 3, 2021
1 parent 62625b7 commit 15f5e3e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -107,4 +107,4 @@
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.ts"
}
}
}
}
2 changes: 1 addition & 1 deletion src/components/organisms/notifier/buy/CheckoutPayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const CheckoutPayment: FC<Props> = ({
web3 as Web3, account as string, selectedTokenSymbol,
)
setHasEnoughFunds(Big(balance).gte(cryptoPrice))
} catch (error: any) {
} catch (error) {
reportError({
error,
id: 'get-balance',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const NotifierOfferCheckoutPage: FC = () => {
},
})
}
} catch (error: any) {
} catch (error) {
const { customMessage } = error
reportError({
error,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const NotifierMyPurchasePage: FC = () => {
},
})
}
} catch (error: any) {
} catch (error) {
const { customMessage } = error
reportError({
error,
Expand Down

0 comments on commit 15f5e3e

Please sign in to comment.