Skip to content

Commit be0eb90

Browse files
committed
tweaks
1 parent 5e3158d commit be0eb90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/demo-inkv6/src/components/ContractDeployerBoard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ export function ContractDeployerBoard() {
2525
await newFlipperTx.signAndSend({
2626
args: [true],
2727
txOptions: { salt },
28-
callback: async (progress, contractAddress) => {
28+
callback: (progress, contractAddress) => {
2929
const { status } = progress;
3030
console.log(status);
3131

32-
// TODO improve this?
3332
if (contractAddress) {
3433
console.log('Contract is deployed at address', contractAddress);
3534
setDeployedContracts((prev) => [{ address: contractAddress, at: Date.now() }, ...(prev || [])]);

0 commit comments

Comments
 (0)