Widget menu in error boundary (#979)

This commit is contained in:
Manuel
2023-05-29 00:24:22 +02:00
committed by GitHub
parent 173b40684c
commit a54f03df1f
5 changed files with 87 additions and 71 deletions

View File

@@ -39,7 +39,7 @@ export const WidgetWrapper = ({
const widgetWithDefaultProps = useWidget(widget);
return (
<ErrorBoundary>
<ErrorBoundary integration={widgetType} widget={widgetWithDefaultProps}>
<HomarrCardWrapper className={className}>
<WidgetsMenu integration={widgetType} widget={widgetWithDefaultProps} />
<WidgetComponent widget={widgetWithDefaultProps} />