Skip to content

Commit 0810bd8

Browse files
authored
remove reference to computed var (#3906)
1 parent d672c64 commit 0810bd8

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)