From 1dbbcd0630d9e2cba68e7b469645e0c1ff8b1f86 Mon Sep 17 00:00:00 2001 From: David Heidrich Date: Fri, 23 Feb 2024 19:18:32 +0100 Subject: [PATCH] fix: subscribe with `deepEqual` as well --- src/lib/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/store.ts b/src/lib/store.ts index 752880b..9d9858a 100644 --- a/src/lib/store.ts +++ b/src/lib/store.ts @@ -238,7 +238,7 @@ export const factoryParameters = < setCurrentState(state) } }, - { equalityFn: shallow } + { equalityFn: isDeepEqual } ) return () => {