|
@@ -152,7 +152,9 @@ def compile_state(state: Type[BaseState]) -> dict:
|
|
console.warn(
|
|
console.warn(
|
|
f"Failed to compile initial state with computed vars, excluding them: {e}"
|
|
f"Failed to compile initial state with computed vars, excluding them: {e}"
|
|
)
|
|
)
|
|
- initial_state = state(_reflex_internal_init=True).dict(include_computed=False)
|
|
|
|
|
|
+ initial_state = state(_reflex_internal_init=True).dict(
|
|
|
|
+ initial=True, include_computed=False
|
|
|
|
+ )
|
|
return format.format_state(initial_state)
|
|
return format.format_state(initial_state)
|
|
|
|
|
|
|
|
|