handle component at largest scope
This commit is contained in:
parent
1aa728ee4c
commit
19b6fe9efc
@ -570,6 +570,9 @@ def compile_unevaluated_page(
|
|||||||
if isinstance(component, tuple):
|
if isinstance(component, tuple):
|
||||||
component = Fragment.create(*component)
|
component = Fragment.create(*component)
|
||||||
|
|
||||||
|
if isinstance(component, Var):
|
||||||
|
component = Fragment.create(component)
|
||||||
|
|
||||||
component._add_style_recursive(style or {}, theme)
|
component._add_style_recursive(style or {}, theme)
|
||||||
|
|
||||||
enable_state = False
|
enable_state = False
|
||||||
|
Loading…
Reference in New Issue
Block a user