🚑 Fix Error with latest Dashdot changes (#725)

This commit is contained in:
Mauz authored and GitHub committed 2023-02-22 22:04:09 +01:00
1 parent f56f4b33ce
commit fddcfb3f06
4 files changed
+47 -14

No files matched your search

@@ -57,9 +57,12 @@ export function WrapperContent({ apps, refs, widgets }: WrapperContentProps) {
{...widget.shape[shapeSize]?.location}
{...widget.shape[shapeSize]?.size}
>
<WidgetWrapper className="grid-stack-item-content" widget={widget} widgetId={widget.id}>
<definition.component className="grid-stack-item-content" widget={widget} />
</WidgetWrapper>
<WidgetWrapper
className="grid-stack-item-content"
widget={widget}
widgetId={widget.id}
WidgetComponent={definition.component}
/>
</GridstackTileWrapper>
);
})}