Skip to content

Commit 5e233e9

Browse files
committed
refactor(04-zkapp-ui-with-react.mdx): update worker reference variable
1 parent 23c575e commit 5e233e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zkapps/tutorials/04-zkapp-ui-with-react.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Comlink.expose(api);
241241

242242
The web worker client code resides in the `04-zkapp-browser-ui/ui/app/zkappWorkerClient.ts` file. Here you create a client in the main thread that interacts with the web worker.
243243

244-
- `Worker` is a reference to the Worker instance and `remoteApi` is a reference to a proxy object that provides typesafe access to the worker's API methods.
244+
- `worker` is a reference to the web worker instance and `remoteApi` is a reference to a proxy object that provides typesafe access to the worker's API methods.
245245

246246
```ts
247247
export default class ZkappWorkerClient {

0 commit comments

Comments
 (0)