Skip to content

Commit

Permalink
aaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
adhami3310 committed Nov 16, 2024
1 parent 2b05ee9 commit 2e1bc05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions reflex/vars/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,7 @@ def __init__(self, default_value: VAR_TYPE):
Args:
default_value: The default value.
"""
super().__init__("")
self._default = default_value

@property
Expand Down
2 changes: 1 addition & 1 deletion reflex/vars/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def create(
"""
return cls(
_js_expr="",
_var_type=_var_type,
_var_type=slice if _var_type is None else _var_type,
_var_data=_var_data,
_var_value=value,
)
Expand Down

0 comments on commit 2e1bc05

Please sign in to comment.