Skip to content

Commit b95d476

Browse files
authored
reactive: fix typo/bug in reactive_ops.__call__ (#1069)
1 parent a7f2742 commit b95d476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

param/reactive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def _as_rx(self):
230230
def __call__(self) -> 'rx':
231231
"""Create a reactive expression."""
232232
rxi = self._reactive
233-
return rxi if isinstance(rx, rx) else rx(rxi)
233+
return rxi if isinstance(rxi, rx) else rx(rxi)
234234

235235
def and_(self, other) -> 'rx':
236236
"""

0 commit comments

Comments
 (0)