Skip to content

Commit

Permalink
Merge 0e10a6b into b2db62b
Browse files Browse the repository at this point in the history
  • Loading branch information
pzich committed Apr 15, 2022
2 parents b2db62b + 0e10a6b commit 99857a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/produce.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Inside the recipe, all standard JavaScript APIs can be used on the `draft` objec

Any of those mutations don't have to happen at the root, but it is allowed to modify anything anywhere deep inside the draft: `draft.todos[0].tags["urgent"].author.age = 56`

Note that the recipe function itself normally doesn't return anything. However, it is possible to return in case you want to replace the `draft` object in its entirety with another object, for more details see [returning new data](return).
Note that the recipe function itself normally doesn't return anything. However, it is possible to return in case you want to replace the `draft` object in its entirety with another object, for more details see [returning new data](./return.mdx).

## Example

Expand Down

0 comments on commit 99857a3

Please sign in to comment.