diff --git a/src/components/lume/LumeDashboard/LumeDashboard.tsx b/src/components/lume/LumeDashboard/LumeDashboard.tsx index 149aea6..b399f47 100644 --- a/src/components/lume/LumeDashboard/LumeDashboard.tsx +++ b/src/components/lume/LumeDashboard/LumeDashboard.tsx @@ -38,7 +38,9 @@ const LumeDashboard = (props: any) => { ); - const GivenTrigger = React.Children.toArray(children.children) + const GivenTrigger = React.Children.toArray( + children?.children || (children as any) || [], + ) .filter((c) => { if (typeof c === "object") { //@ts-expect-error -- I dont know what the type of this should be, i just know that this works