Skip to content

Commit

Permalink
fix: last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
omarsy committed Jun 30, 2024
1 parent c52efd7 commit 670ebbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/hooks/feed/useFeedPosting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const useFeedPosting = (
const provider = new GnoJSONRPCProvider(network.endpoint);
await provider.waitForTransaction(txHash);
setStep(feedPostingStep(FeedPostingStepId.DONE));
onSuccess && onSuccess();
} else {
setStep(feedPostingStep(FeedPostingStepId.POSTING));

Expand Down
3 changes: 2 additions & 1 deletion packages/utils/gno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export const adenaDoContract = async (
throw new Error(res.message);
}
const hash: string = res.data.hash;
await client.waitForTransaction(hash,height);

await client.waitForTransaction(hash, height);

return hash;
};
Expand Down

0 comments on commit 670ebbb

Please sign in to comment.