Skip to content

Commit d6d8137

Browse files
Lendemoradhami3310
authored andcommitted
fix app_wraps not being passed from inside a rx.memo (#5387)
* fix app_wraps not being passed from inside a rx.memo * all instead of one * remove weird copilot comment
1 parent 46a8def commit d6d8137

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

reflex/components/component.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,6 +2206,14 @@ def get_component(self) -> Component:
22062206
component._add_style_recursive(style)
22072207
return component
22082208

2209+
def _get_all_app_wrap_components(self) -> dict[tuple[int, str], Component]:
2210+
"""Get the app wrap components for the custom component.
2211+
2212+
Returns:
2213+
The app wrap components.
2214+
"""
2215+
return self.get_component()._get_all_app_wrap_components()
2216+
22092217

22102218
CUSTOM_COMPONENTS: dict[str, CustomComponent] = {}
22112219

0 commit comments

Comments
 (0)