Add few more fixes and styling to modals

This commit is contained in:
Valtteri Karesto
2022-03-17 19:10:27 +02:00
parent 23068ff477
commit a87b3de6c4
3 changed files with 44 additions and 19 deletions

View File

@@ -106,8 +106,9 @@ export const deployHook = async (account: IAccount & { name?: string }, data: Se
if (currentAccount) {
currentAccount.isLoading = true;
}
let submitRes;
try {
const submitRes = await state.client.send({
submitRes = await state.client.send({
command: "submit",
tx_blob: signedTransaction,
});
@@ -137,5 +138,6 @@ export const deployHook = async (account: IAccount & { name?: string }, data: Se
if (currentAccount) {
currentAccount.isLoading = false;
}
return submitRes;
}
};