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 () => {