From 7b2a6556d9a406fddca18bcd67aab109917f5497 Mon Sep 17 00:00:00 2001 From: url00 Date: Sat, 26 Dec 2020 14:07:13 -0600 Subject: [PATCH] Update current.md Minor typo, incorrect pluralization. --- docs/current.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/current.md b/docs/current.md index fdc2878a..caa8e7af 100644 --- a/docs/current.md +++ b/docs/current.md @@ -8,7 +8,7 @@ sidebar_label: Current
-Immer exposes a named export `current` that create a copy of the current state of the draft. This can be very useful for debugging purposes (as those objects won't be Proxy objects and not be logged as such). Also, references to `current` can be safely leaked from a produce function. Put differently, `current` provides a snapshot of the current state of a draft. +Immer exposes a named export `current` that creates a copy of the current state of the draft. This can be very useful for debugging purposes (as those objects won't be Proxy objects and not be logged as such). Also, references to `current` can be safely leaked from a produce function. Put differently, `current` provides a snapshot of the current state of a draft. Objects generated by `current` work similar to the objects created by produce itself.