Skip to content

Commit

Permalink
feat(04-zkapp-ui-with-react.mdx): rename worker state variables for c…
Browse files Browse the repository at this point in the history
…larity
  • Loading branch information
ymekuria committed Oct 1, 2024
1 parent e7be362 commit a7b3b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zkapps/tutorials/04-zkapp-ui-with-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ The web worker code resides in the `04-zkapp-browser-ui/ui/app/zkappWorker.ts` f
The state object holds references to the zkApp Instance, Add contract instance, and the transactions.
```ts ignore
const state = {
Add: null as null | typeof Add,
zkapp: null as null | Add,
AddInstance: null as null | typeof Add,
zkappInstance: null as null | Add,
transaction: null as null | Transaction,
};
```
Expand Down

0 comments on commit a7b3b7a

Please sign in to comment.