Skip to content

Commit e66ef9e

Browse files
committed
format file with prettier
1 parent 46445fa commit e66ef9e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/build/apps/example-application-tutorial/manage-trust.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,12 @@ The layout of the page is quite similar to our contacts page. It has a table dis
112112
let errorDetails = `Transaction failed with status: ${finalResponse.status}`;
113113
if (finalResponse.resultXdr) {
114114
try {
115-
const decodedResultJson = decode("TransactionResult", finalResponse.resultXdr);
115+
const decodedResultJson = decode(
116+
"TransactionResult",
117+
finalResponse.resultXdr,
118+
);
116119
errorDetails += `\nResult XDR: ${decodedResultJson}`;
117-
} catch (xdrError) {
120+
} catch {
118121
errorDetails += `\nRaw Result XDR: ${finalResponse.resultXdr}`;
119122
}
120123
}

0 commit comments

Comments
 (0)