Skip to content

Commit 8ece44a

Browse files
Merge pull request #8 from effector/ignore-named-stores
2 parents e82c9f1 + 41e3968 commit 8ece44a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/get-scope.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function HACK_updateScopeRefs(scope: Scope, values: Values) {
5050
for (const id in scope.reg) {
5151
// @ts-expect-error
5252
const ref = scope.reg[id];
53-
if (!ref.meta || ref.meta?.derived) {
53+
if (!ref.meta || (!ref.meta?.named && ref.meta?.derived)) {
5454
/**
5555
* Force recalculation of derived values
5656
*/

0 commit comments

Comments
 (0)