Skip to content
Myr

docs: fixed error in docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michel Weststrate · committed by Michel Weststrate · parent ff210d8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:readme.md+1 added-1 removed
346 unmodified lines
347 todos: []348}349350const loadedUser = await produce(user, async function(draft) {351 user.todos = await (await window.fetch("http://host/" + draft.name)).json()351 draft.todos = await (await window.fetch("http://host/" + draft.name)).json()352})353```354355_Warning: please note that the draft shouldn't be 'leaked' from the async process and stored else where. The draft will still be revoked as soon as the async process completes._
403 unmodified lines