💄 Lint + Prettier
This commit is contained in:
@@ -11,8 +11,8 @@ interface WidgetWrapperProps {
|
||||
}
|
||||
|
||||
export const WidgetWrapper = ({ widgetId, widget, className, children }: WidgetWrapperProps) => (
|
||||
<HomarrCardWrapper className={className}>
|
||||
<WidgetsMenu integration={widgetId} widget={widget} />
|
||||
{children}
|
||||
</HomarrCardWrapper>
|
||||
);
|
||||
<HomarrCardWrapper className={className}>
|
||||
<WidgetsMenu integration={widgetId} widget={widget} />
|
||||
{children}
|
||||
</HomarrCardWrapper>
|
||||
);
|
||||
|
||||
@@ -5,6 +5,4 @@ import { IWidgetDefinition } from './widgets';
|
||||
// The options of IWidgetDefinition are so heavily typed that it even used 'true' as type
|
||||
export const defineWidget = <TKey extends string, TOptions extends IWidgetDefinition<TKey>>(
|
||||
options: TOptions
|
||||
) => {
|
||||
return options;
|
||||
};
|
||||
) => options;
|
||||
|
||||
Reference in New Issue
Block a user