diff --git a/package.json b/package.json index fbedae38..25403682 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,9 @@ "@mui/lab": "5.0.0-alpha.134", "@mui/material": "^5.15.14", "@mui/x-date-pickers": "^6.19.5", - "@polkadot/api": "^10.8.1", - "@polkadot/api-contract": "^10.8.1", + "@polkadot/api": "^10.12.6", "@polkadot/extension-inject": "^0.46.4", - "@polkadot/types": "^10.8.1", + "@polkadot/types": "^10.12.6", "@polkadot/util": "^12.3.1", "@scio-labs/use-inkathon": "^0.0.1-alpha.44", "@types/humanize-duration": "^3.27.3", diff --git a/src/pages/purchase.tsx b/src/pages/purchase.tsx index ab930614..2e1ebf93 100644 --- a/src/pages/purchase.tsx +++ b/src/pages/purchase.tsx @@ -160,14 +160,14 @@ const Purchase = () => { toastSuccess('Transaction successful'); fetchRegions(); } else if (method === 'ExtrinsicFailed') { - toastError(`Failed to partition the region`); + toastError(`Failed to purchase the region`); } }); } } ); } catch (e) { - toastError(`Failed to partition the region. ${e}`); + toastError(`Failed to purchase the region. ${e}`); setWorking(false); } };