We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c548008 commit 2650084Copy full SHA for 2650084
templates/chain-admin/components/contract/deploy/DeployJsContract.tsx
@@ -51,7 +51,7 @@ export const DeployJsContract = ({
51
code: await readFileContent(jsFile),
52
onTxSucceed: (txInfo) => {
53
setIsLoading(false);
54
- setTxResult(txInfo);
+ setTxResult(txInfo as DeliverTxResponse);
55
updateMyContracts();
56
onSuccess?.();
57
},
templates/chain-admin/components/contract/deploy/InstantiateContract.tsx
@@ -124,7 +124,6 @@ export const InstantiateContract = ({
124
txResult.events.find((e) => e.type === 'instantiate')?.attributes[0]
125
.value ?? '';
126
127
- // @ts-expect-error
128
const transactionHash = txResult?.hash || txResult?.transactionHash || '';
129
130
const infoItems: TxInfoItem[] = [
0 commit comments