diff --git a/src/frontend/src/hooks/use-model-provider.ts b/src/frontend/src/hooks/use-model-provider.ts index ec67966..9b642a1 100644 --- a/src/frontend/src/hooks/use-model-provider.ts +++ b/src/frontend/src/hooks/use-model-provider.ts @@ -39,6 +39,8 @@ const findProvider = (componentInstance: ComponentInternalInstance | null): Comp search([child.subTree]); } else if (child.component) { search([child.component]); + } else { + search(child.children); } }); };