From 2959b3c04f970534d40607ee4cdb91c070f075e3 Mon Sep 17 00:00:00 2001 From: Ross Morsali Date: Mon, 7 Jun 2021 11:57:30 +0200 Subject: [PATCH] Add missing comma to example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d82d21..e054961 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ let actionFunctions = store => ({ setTimeout(() => { store.setState({ stuff: [] }) // clear 'stuff' after 1 second }, 1000) - } + }, // Remember that the state passed to the action function could be stale after // doing async work, so use getState() instead: