From 2f9ca8da756ab1b2c4f8ebffbc59e7ec3c1a1404 Mon Sep 17 00:00:00 2001 From: Juri Naidenov Date: Wed, 16 Oct 2024 15:21:25 +0200 Subject: [PATCH] computedState -> computed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b56ae9..26a44e1 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ The middleware layer takes in your store creation function and a compute functio ```js import { createComputed } from "zustand-computed" -const computeState = createComputed((state) => ({ +const computed = createComputed((state) => ({ countSq: state.count ** 2, }))