mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-07 07:52:08 +08:00
Revert "Added optional boxed styling for information widgets and refactored information widgets"
This commit is contained in:
@@ -17,13 +17,13 @@ const widgetMappings = {
|
||||
kubernetes: dynamic(() => import("components/widgets/kubernetes/kubernetes")),
|
||||
};
|
||||
|
||||
export default function Widget({ widget, style }) {
|
||||
export default function Widget({ widget }) {
|
||||
const InfoWidget = widgetMappings[widget.type];
|
||||
|
||||
if (InfoWidget) {
|
||||
return (
|
||||
<ErrorBoundary>
|
||||
<InfoWidget options={{ ...widget.options, style }} />
|
||||
<InfoWidget options={widget.options} />
|
||||
</ErrorBoundary>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user