From 6042e665c911b73d273190abdf905bdbf3a03958 Mon Sep 17 00:00:00 2001 From: Albert Gao Date: Fri, 2 Jul 2021 10:22:38 +1200 Subject: [PATCH] chore: updated version and removed unused code --- README.md | 2 ++ package.json | 2 +- src/index.ts | 10 ---------- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2e35aee..29a749d 100755 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ +**Stop writing selectors and do more work!** + ## Features - auto generate selectors for Zustand store diff --git a/package.json b/package.json index ce5b0cd..4dd2fce 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auto-zustand-selectors-hook", - "version": "1.0.0", + "version": "1.0.1", "keywords": [], "description": "", "main": "dist/index.min.js", diff --git a/src/index.ts b/src/index.ts index d4901a4..17aa2d8 100755 --- a/src/index.ts +++ b/src/index.ts @@ -40,13 +40,3 @@ export function createSelectorHooks( return store as UseStore & Hook; } - -// interface BearState { -// bears: number; -// increase: (by: number) => void; -// } - -// const useStore = create(set => ({ -// bears: 0, -// increase: by => set(state => ({ bears: state.bears + by })), -// }));