Destructure to get tx ID
This commit is contained in:
parent
5dd589066d
commit
86bfc5c5cf
@ -74,7 +74,7 @@ const CreateTxForm = ({ router, senderAddress, accountOnChain }: CreateTxFormPro
|
||||
memo,
|
||||
};
|
||||
|
||||
const transactionID = await requestJson("/api/transaction", {
|
||||
const { transactionID } = await requestJson("/api/transaction", {
|
||||
body: { dataJSON: JSON.stringify(tx) },
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user