Skip to content

Commit fc58c38

Browse files
Merge remote-tracking branch 'upstream/fix-reference-to-old-computed-var' into hybrid-properties
2 parents f4a45fd + 0f38cd6 commit fc58c38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reflex/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ def _check_overridden_computed_vars(cls) -> None:
739739
NameError: When a computed var shadows another.
740740
"""
741741
for name, cv in cls.__dict__.items():
742-
if not isinstance(cv, (ComputedVar, ImmutableComputedVar)):
742+
if not is_computed_var(cv):
743743
continue
744744
name = cv._var_name
745745
if name in cls.inherited_vars or name in cls.inherited_backend_vars:

0 commit comments

Comments
 (0)