Skip to content

Commit 2650084

Browse files
committed
fixed some issue related to building
1 parent c548008 commit 2650084

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

templates/chain-admin/components/contract/deploy/DeployJsContract.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const DeployJsContract = ({
5151
code: await readFileContent(jsFile),
5252
onTxSucceed: (txInfo) => {
5353
setIsLoading(false);
54-
setTxResult(txInfo);
54+
setTxResult(txInfo as DeliverTxResponse);
5555
updateMyContracts();
5656
onSuccess?.();
5757
},

templates/chain-admin/components/contract/deploy/InstantiateContract.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export const InstantiateContract = ({
124124
txResult.events.find((e) => e.type === 'instantiate')?.attributes[0]
125125
.value ?? '';
126126

127-
// @ts-expect-error
128127
const transactionHash = txResult?.hash || txResult?.transactionHash || '';
129128

130129
const infoItems: TxInfoItem[] = [

0 commit comments

Comments
 (0)