File tree Expand file tree Collapse file tree
tests/units/components/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def make_component(component: Component) -> str:
114114 module_code_lines = templates .stateful_components_template (
115115 imports = utils .compile_imports (imports ),
116116 memoized_code = "\n " .join (rendered_components ),
117- ).splitlines ()[ 1 :]
117+ ).splitlines ()
118118
119119 # Rewrite imports from `/` to destructure from window
120120 for ix , line in enumerate (module_code_lines [:]):
Original file line number Diff line number Diff line change 1515from reflex .components .radix .themes .typography .text import text
1616from reflex .constants .state import FIELD_MARKER
1717from reflex .state import BaseState , ComponentState
18- from reflex .vars .base import Var
1918from reflex .vars .number import NumberVar
2019from reflex .vars .sequence import ArrayVar
2120
You can’t perform that action at this time.
0 commit comments