mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
cleanup
This commit is contained in:
@@ -48,13 +48,13 @@ const widgetMappings = {
|
||||
prowlarr: Prowlarr,
|
||||
};
|
||||
|
||||
export default function Widget({ service, state }) {
|
||||
export default function Widget({ service }) {
|
||||
const { t } = useTranslation("common");
|
||||
|
||||
const ServiceWidget = widgetMappings[service.widget.type];
|
||||
|
||||
if (ServiceWidget) {
|
||||
return <ServiceWidget state={state} service={service} />;
|
||||
return <ServiceWidget service={service} />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user