✨ Migrate tiles from id to type
This commit is contained in:
@@ -33,7 +33,7 @@ const useWidget = <T extends IWidget<string, any>>(widget: T): T => {
|
||||
};
|
||||
|
||||
export const WidgetWrapper = ({
|
||||
widgetType: widgetId,
|
||||
widgetType,
|
||||
widget,
|
||||
className,
|
||||
WidgetComponent,
|
||||
@@ -43,7 +43,7 @@ export const WidgetWrapper = ({
|
||||
return (
|
||||
<ErrorBoundary>
|
||||
<HomarrCardWrapper className={className}>
|
||||
<WidgetsMenu integration={widgetId} widget={widgetWithDefaultProps} />
|
||||
<WidgetsMenu integration={widgetType} widget={widgetWithDefaultProps} />
|
||||
<WidgetComponent widget={widgetWithDefaultProps} />
|
||||
</HomarrCardWrapper>
|
||||
</ErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user