cleanup
This commit is contained in:
1 parent
34f7bd4341
commit
62188ffdc7
5 files changed
+42
-36
No files matched your search
@@ -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