Skip to content

Commit

Permalink
feat(index.page.tsx): add displayStep function to update display text…
Browse files Browse the repository at this point in the history
… and log step during transaction process
  • Loading branch information
ymekuria committed Sep 23, 2024
1 parent 4c01b5f commit 1f3e478
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ export default function Home() {

// -------------------------------------------------------
// Send a transaction

const displayStep = (step: string) => {
setDisplayText(step)
console.log(step)
}

const onSendTransaction = async () => {
setCreatingTransaction(true);

Expand Down

0 comments on commit 1f3e478

Please sign in to comment.