diff --git a/reflex/components/component.py b/reflex/components/component.py index 66d286d2871..d3be5a176ef 100644 --- a/reflex/components/component.py +++ b/reflex/components/component.py @@ -2206,6 +2206,14 @@ def get_component(self) -> Component: component._add_style_recursive(style) return component + def _get_all_app_wrap_components(self) -> dict[tuple[int, str], Component]: + """Get the app wrap components for the custom component. + + Returns: + The app wrap components. + """ + return self.get_component()._get_all_app_wrap_components() + CUSTOM_COMPONENTS: dict[str, CustomComponent] = {}