Skip to content

Commit

Permalink
Fix documentation signAndSend with kit.signTransaction (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
tupui authored Dec 10, 2024
1 parent a394359 commit 6043319
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/build/apps/dapp-frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,7 @@ Current value: <strong id="current-value" aria-live="polite">???</strong><br />
try {
const { result } = await tx.signAndSend({
signTransaction: async (xdr) => {
const { signedTxXdr } = await kit.signTransaction(xdr);
return signedTxXdr;
return await kit.signTransaction(xdr);
},
});
Expand Down

0 comments on commit 6043319

Please sign in to comment.