Skip to content

Commit

Permalink
feat(04-zkapp-ui-with-react.mdx): update description of functions run…
Browse files Browse the repository at this point in the history
…ning in the web worker
  • Loading branch information
ymekuria committed Oct 3, 2024
1 parent 344475a commit 8f7d5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zkapps/tutorials/04-zkapp-ui-with-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ The state object holds references to the zkApp Instance, Add contract instance,

##### Defining functions that will run in the worker thread

These functions perform tasks such as setting up the network instance, loading and compiling the smart contract, fetching accounts, interacting with the smart contract, and handling transactions.
These functions perform tasks such as setting up the network instance, loading and compiling the smart contract, fetching accounts, interacting with the smart contract, and handling transactions. The functions will run in the web worker thread to ensure the UI thread is not blocked during long computations.

```ts ignore
export const api = {
Expand Down

0 comments on commit 8f7d5a9

Please sign in to comment.