Closed paulbellamy closed 1 year ago
The easiest solution here is probably just to trigger a re-fetch when useSendTransaction
's callback is successful.
This was solved in https://github.com/stellar/soroban-example-dapp/commit/82adf511ec76a0dc14f35a019ff135bc74801303
At the end of the transaction, by calling sorobanContext.connect(), it update the context, and hence, updates all the values that depend on that context.
Should be marked as Soved @paulbellamy
Once you submit the txn we should update the page with the new state.
Update: