Feature: Support pi-hole v6 (#3207)

This commit is contained in:
shamoon
2024-03-31 20:34:46 -07:00
committed by GitHub
parent b0d57866a0
commit 29ac7bfea7
5 changed files with 107 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ export default function Component({ service }) {
const { widget } = service;
const { data: piholeData, error: piholeError } = useWidgetAPI(widget, "summaryRaw");
const { data: piholeData, error: piholeError } = useWidgetAPI(widget);
if (piholeError) {
return <Container service={service} error={piholeError} />;