From 7645f7249dbf52db140dfc8b7866cb4a171e439c Mon Sep 17 00:00:00 2001 From: Mateusz Leonowicz Date: Fri, 17 Jan 2020 15:03:35 +0000 Subject: [PATCH] feat: `useMap`: allow resetting with provided value other then initial --- docs/useMap.md | 5 ++++- src/useMap.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/useMap.md b/docs/useMap.md index cf3273af..7210076a 100644 --- a/docs/useMap.md +++ b/docs/useMap.md @@ -18,7 +18,10 @@ const Demo = () => { Add +