Skip to content

Commit

Permalink
Bump polkadot api (#67)
Browse files Browse the repository at this point in the history
* bump polkadot/api

* bump types

* format
  • Loading branch information
Szegoo authored Apr 15, 2024
1 parent 3e32e97 commit 8757167
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/purchase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};
Expand Down

0 comments on commit 8757167

Please sign in to comment.